| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <bindings id="menulistBindings" |
| 4 | xmlns="http://www.mozilla.org/xbl" |
| 5 | xmlns:html="http://www.w3.org/1999/xhtml" |
| 6 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
| 7 | |
| 8 | <binding id="menulist" |
| 9 | extends="chrome://global/content/bindings/menulist.xml#menulist"> |
| 10 | <content> |
| 11 | <xul:hbox class="menulist-internal-box" flex="1"> |
| 12 | <xul:hbox class="menulist-display-box" flex="1" align="center"> |
| 13 | <xul:image class="menulist-icon" inherits="src"/> |
| 14 | <xul:text class="menulist-text" inherits="value=label,crop,accesskey" crop="right" flex="1"/> |
| 15 | </xul:hbox> |
| 16 | <xul:hbox class="menulist-dropmarker-box-1" inherits="open"> |
| 17 | <xul:hbox class="menulist-dropmarker-box-2" flex="1" align="center" pack="center" inherits="open"> |
| 18 | <xul:image class="menulist-dropmarker" inherits="disabled"/> |
| 19 | </xul:hbox> |
| 20 | </xul:hbox> |
| 21 | </xul:hbox> |
| 22 | <children includes="menupopup"/> |
| 23 | </content> |
| 24 | </binding> |
| 25 | |
| 26 | <binding id="menulist-editable" |
| 27 | extends="chrome://global/content/bindings/menulist.xml#menulist-editable"> |
| 28 | <content> |
| 29 | <xul:hbox class="menulist-internal-box" flex="1"> |
| 30 | <xul:hbox class="menulist-display-box" flex="1" align="center"> |
| 31 | <xul:image class="menulist-icon" inherits="src"/> |
| 32 | <html:input type="text" class="menulist-editable-text" inherits="value=label,accesskey" flex="1"/> |
| 33 | </xul:hbox> |
| 34 | <xul:hbox class="menulist-dropmarker-box-1" valign="middle" inherits="open"> |
| 35 | <xul:hbox class="menulist-dropmarker-box-2" flex="1" align="center" pack="center" inherits="open"> |
| 36 | <xul:image class="menulist-dropmarker" inherits="disabled"/> |
| 37 | </xul:hbox> |
| 38 | </xul:hbox> |
| 39 | </xul:hbox> |
| 40 | <children includes="menupopup"/> |
| 41 | </content> |
| 42 | </binding> |
| 43 | |
| 44 | <binding id="menulistpopup" |
| 45 | extends="chrome://global/content/bindings/popup.xml#popup"> |
| 46 | <content> |
| 47 | <xul:vbox class="menulistpopup-internal-box" flex="1" style="overflow: auto"> |
| 48 | <children/> |
| 49 | </xul:vbox> |
| 50 | </content> |
| 51 | </binding> |
| 52 | |
| 53 | <binding id="menulist-compact" extends="chrome://global/content/bindings/menulist.xml#menulist"> |
| 54 | <content> |
| 55 | <xul:hbox class="menulist-compact-internal-box" flex="1" align="center"> |
| 56 | <xul:image class="menulist-compact-dropmarker" inherits="disabled"/> |
| 57 | <xul:spacer flex="1"/> |
| 58 | <xul:text class="menulist-compact-text" inherits="value=label,accesskey,crop,disabled" crop="right"/> |
| 59 | </xul:hbox> |
| 60 | <children includes="menupopup"/> |
| 61 | </content> |
| 62 | </binding> |
| 63 | |
| 64 | </bindings> |