Bug 882902 - Remove old fennec text input bindings no longer in use. r=fryn

This commit is contained in:
Jim Mathies 2013-06-19 14:20:45 -05:00
Родитель 3e48e57775
Коммит 43ed16397a
2 изменённых файлов: 1 добавлений и 45 удалений

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

@ -204,28 +204,6 @@
</handlers>
</binding>
<binding id="textarea" extends="chrome://global/content/bindings/textbox.xml#textarea">
<handlers>
<handler event="contextmenu" phase="capturing">
<![CDATA[
let box = this.inputField.parentNode;
box.showContextMenu(this, event, false);
]]>
</handler>
</handlers>
</binding>
<binding id="timed-textbox" extends="chrome://global/content/bindings/textbox.xml#timed-textbox">
<handlers>
<handler event="contextmenu" phase="capturing">
<![CDATA[
let box = this.inputField.parentNode;
box.showContextMenu(this, event, false);
]]>
</handler>
</handlers>
</binding>
<binding id="search-textbox" extends="chrome://global/content/bindings/textbox.xml#search-textbox">
<implementation>
<field name="_searchClear">
@ -270,17 +248,6 @@
</handlers>
</binding>
<binding id="numberbox" extends="chrome://global/content/bindings/numberbox.xml#numberbox">
<handlers>
<handler event="contextmenu" phase="capturing">
<![CDATA[
let box = this.inputField.parentNode;
box.showContextMenu(this, event, false);
]]>
</handler>
</handlers>
</binding>
<binding id="input-box" extends="xul:box">
<implementation>
<method name="showContextMenu">

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

@ -209,18 +209,7 @@ textbox {
-moz-binding: url("chrome://browser/content/bindings/bindings.xml#textbox");
}
textbox[multiline="true"] {
-moz-binding: url("chrome://browser/content/bindings/bindings.xml#textarea");
}
textbox[type="timed"] {
-moz-binding: url("chrome://browser/content/bindings/bindings.xml#timed-textbox");
}
/* used in about:config */
textbox[type="search"] {
-moz-binding: url("chrome://browser/content/bindings/bindings.xml#search-textbox");
}
textbox[type="number"] {
-moz-binding: url("chrome://browser/content/bindings/bindings.xml#numberbox");
}