зеркало из https://github.com/mozilla/gecko-dev.git
Bug 339540 - Remove dead find code from browser.xml and tabbrowser.xml. Patch by Adam Guthrie <ispiked@gmail.com>, r=mano
This commit is contained in:
Родитель
4c8ae817f4
Коммит
77d2863c98
|
@ -796,46 +796,6 @@
|
|||
</body>
|
||||
</method>
|
||||
|
||||
<field name="_findInstData">null</field>
|
||||
<property name="findInstData" readonly="true">
|
||||
<getter>
|
||||
<![CDATA[
|
||||
if (!this._findInstData) {
|
||||
this._findInstData = new nsFindInstData();
|
||||
this._findInstData.browser = this;
|
||||
// defaults for rootSearchWindow and currentSearchWindow are fine here
|
||||
}
|
||||
return this._findInstData;
|
||||
]]>
|
||||
</getter>
|
||||
</property>
|
||||
|
||||
<property name="canFindAgain" readonly="true" onget="return canFindAgainInPage();"/>
|
||||
|
||||
<method name="find">
|
||||
<body>
|
||||
<![CDATA[
|
||||
findInPage(this.findInstData)
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
||||
<method name="findAgain">
|
||||
<body>
|
||||
<![CDATA[
|
||||
findAgainInPage(this.findInstData, false)
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
||||
<method name="findPrevious">
|
||||
<body>
|
||||
<![CDATA[
|
||||
findAgainInPage(this.findInstData, true)
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
||||
</implementation>
|
||||
|
||||
<handlers>
|
||||
|
|
|
@ -2138,10 +2138,6 @@
|
|||
})]]>
|
||||
</field>
|
||||
|
||||
<property name="canFindAgain"
|
||||
onget="return this.mCurrentBrowser.canFindAgain;"
|
||||
readonly="true"/>
|
||||
|
||||
<property name="userTypedClear"
|
||||
onget="return this.mCurrentBrowser.userTypedClear;"
|
||||
onset="return this.mCurrentBrowser.userTypedClear = val;"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче