Bug 65412: Move browser xbl bindings into their own file and add functionality which we can later use from navigator.js et al. r=ben, sr=hyatt

This commit is contained in:
jaggernaut%netscape.com 2001-07-24 10:59:27 +00:00
Родитель 65da5418e9
Коммит b62f7e4fe5
3 изменённых файлов: 2 добавлений и 31 удалений

Просмотреть файл

@ -210,7 +210,7 @@
<content usechromesheets="chrome://global/skin/scrollbars-mini.css"/>
</binding>
<binding id="browser-miniscroll" extends="chrome://global/content/bindings/general.xml#browser">
<binding id="browser-miniscroll" extends="chrome://global/content/bindings/browser.xml#browser">
<content usechromesheets="chrome://global/skin/scrollbars-mini.css"/>
</binding>

Просмотреть файл

@ -183,35 +183,6 @@
</content>
</binding>
<binding id="browser">
<implementation>
<property name="docShell"
readonly="true"
onget="return this.boxObject.QueryInterface(Components.interfaces.nsIBrowserBoxObject).docShell;"/>
<property name="webNavigation"
readonly="true"
onget="return this.docShell.QueryInterface(Components.interfaces.nsIWebNavigation);"/>
<property name="webBrowserFind"
readonly="true"
onget="return this.docShell.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.nsIWebBrowserFind);"/>
<property name="markupDocumentViewer"
readonly="true"
onget="return this.docShell.contentViewer.QueryInterface(Components.interfaces.nsIMarkupDocumentViewer);"/>
<property name="contentViewerEdit"
readonly="true"
onget="return this.docShell.contentViewer.QueryInterface(Components.interfaces.nsIContentViewerEdit);"/>
<property name="contentViewerFile"
readonly="true"
onget="return this.docShell.contentViewer.QueryInterface(Components.interfaces.nsIContentViewerFile);"/>
<property name="documentCharsetInfo"
readonly="true"
onget="return this.docShell.documentCharsetInfo;"/>
<property name="contentDocument"
readonly="true"
onget="return this.webNavigation.document;"/>
</implementation>
</binding>
<binding id="editor">
<implementation>
<property name="editorShell"

Просмотреть файл

@ -135,7 +135,7 @@ iframe {
}
browser {
-moz-binding: url("chrome://global/content/bindings/general.xml#browser");
-moz-binding: url("chrome://global/content/bindings/browser.xml#browser");
}
editor {