| 1 | <?xml version="1.0"?> |
| 2 | <!DOCTYPE window [ |
| 3 | <!ENTITY % textcontextDTD SYSTEM "chrome://global/locale/textcontext.dtd" > |
| 4 | %textcontextDTD; |
| 5 | ]> |
| 6 | |
| 7 | <bindings id="scrollbarBindings" |
| 8 | xmlns="http://www.mozilla.org/xbl" |
| 9 | xmlns:html="http://www.w3.org/1999/xhtml" |
| 10 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
| 11 | |
| 12 | <binding id="thumbv" extends="xul:vbox"> |
| 13 | <content> |
| 14 | <xul:image inherits="src"/> |
| 15 | </content> |
| 16 | </binding> |
| 17 | |
| 18 | <binding id="thumbh" extends="xul:hbox"> |
| 19 | <content> |
| 20 | <xul:image inherits="src"/> |
| 21 | </content> |
| 22 | </binding> |
| 23 | |
| 24 | <binding id="scrollbar" extends="chrome://global/content/bindings/scrollbar.xml#scrollbar"> |
| 25 | <content> |
| 26 | <xul:scrollbarbutton type="decrement" inherits="sborient=orient"/> |
| 27 | <xul:slider flex="1" inherits="curpos,maxpos,pageincrement,increment"> |
| 28 | <xul:thumb inherits="align,src" flex="1"/> |
| 29 | </xul:slider> |
| 30 | <xul:scrollbarbutton type="increment" inherits="sborient=orient"/> |
| 31 | </content> |
| 32 | </binding> |
| 33 | |
| 34 | <binding id="scrollbarbutton" extends="chrome://global/content/bindings/scrollbar.xml#scrollbarbutton"> |
| 35 | <content> |
| 36 | <xul:box class="scrollbarbutton-box" flex="1"> |
| 37 | <xul:image class="scrollbarbutton-icon" inherits="src"/> |
| 38 | </xul:box> |
| 39 | </content> |
| 40 | </binding> |
| 41 | |
| 42 | |
| 43 | </bindings> |