「BrowserSearch/searchBar」の編集履歴(バックアップ)一覧はこちら
追加された行は緑色になります。
削除された行は赤色になります。
search/search.xml#searchbar
*フィールド/プロパティ
**_stringBundle &spanclass(f){}
anonid="searchbar-stringbundle" の要素
**_popup &spanclass(f){}
anonid="searchbar-popup" の要素
**engines &spanclass(p){}&spanclass(r){}
検索エンジンオブジェクトの配列を返す
**searchButton &spanclass(f){}
anonid="searchbar-engine-button" の要素
**currentEngine &spanclass(p){}
現在の検索エンジンオブジェクトの取得/設定
**textbox &spanclass(p){}&spanclass(r){}
anonid="searchbar-textbox" の要素を返す
**searchService &spanclass(p){}&spanclass(r){}
XPCOMのnsIBrowserSearchService を返す
**value &spanclass(p){}
テキストボックスの文字列の取得/設定
*メソッド
**init()
**focus()
**select()
**observe(aEngine, aTopic, aVerb)
**offerNewEngine(aEngine)
**hideNewEngine(aEngine)
**updateDisplay()
**rebuildPopupDynamic()
**rebuildPopup()
**openManager(aEvent)
検索バーの管理ウィンドウを開く。aEventは指定する意味がまったく無い気がする…
**selectEngine(aEvent, isNextEngine)
現在の検索エンジンを前or次に一個ずらす(isNextEngineがtrueで次、falseで前)。
aEventはpreventDefault/stopPropagationのためだけに指定。
**handleSearchCommand(aEvent)
aEventから検索結果をどこに開くかの決定と、検索履歴の追加をした後、doSearchを呼び出す。
**doSearch(aData, aWhere)
aData文字列を現在の検索エンジンで検索し、openUILinkInで開く。
search/search.xml#searchbar
*フィールド/プロパティ
**_ignoreFocus &spanclass(f){}
**_clickClosedPopup &spanclass(f){}
**_stringBundle &spanclass(f){}
anonid="searchbar-stringbundle" の要素
**_textboxInitialized &spanclass(f){}
**FormHistory &spanclass(f){}&spanclass(r){}
FormHistory.jsm
**engines &spanclass(p){}&spanclass(r){}
検索エンジンオブジェクトの配列を返す
**currentEngine &spanclass(p){}
現在の検索エンジンオブジェクトの取得/設定
**textbox &spanclass(p){}&spanclass(r){}
anonid="searchbar-textbox" の要素を返す
**value &spanclass(p){}
テキストボックスの文字列の取得/設定
*メソッド
**destroy()
**focus()
**select()
**observe(aEngine, aTopic, aVerb)
**offerNewEngine(aEngine)
**hideNewEngine(aEngine)
**setIcon(element, uri)
**updateDisplay()
**updateGoButtonVisibility()
**openSuggestionsPanel(aShowOnlySettingsIfEmpty)
**selectEngine(aEvent, isNextEngine)
現在の検索エンジンを前or次に一個ずらす(isNextEngineがtrueで次、falseで前)。
aEventはpreventDefault/stopPropagationのためだけに指定。
**handleSearchCommand(aEvent, aEngine, aForceNewTab)
aEventから検索結果をタブで開くかどうかの決定をしてhandleSearchCommandWhereに投げる
**handleSearchCommandWhere(aEvent, aEngine, aWhere, aParams)
色々処理して最終的にdoSearchを呼び出す
**doSearch(aData, aWhere, aEngine, aParams, aOneOff)
aData文字列を検索し、openUILinkInで開く。