<?xml version="1.0"?>

<!DOCTYPE bindings [
<!ENTITY % tabBrowserDTD SYSTEM "chrome://browser/locale/tabbrowser.dtd">
%tabBrowserDTD;
<!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd">
%globalDTD;
<!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd">
%browserDTD;
]>

<bindings id="octopodtabbuttons-new-tab-button"
	xmlns="http://www.mozilla.org/xbl"
	xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
	xmlns:xbl="http://www.mozilla.org/xbl">

	<binding id="tabbrowser-tabs" extends="chrome://browser/content/tabbrowser.xml#tabbrowser-tabs">
		<content>
			<xul:stack flex="1" class="tabs-stack">
				<xul:vbox>
					<xul:spacer flex="1"/>
					<xul:hbox class="tabs-bottom" align="center"/>
				</xul:vbox>
				<xul:hbox xbl:inherits="overflow" class="tabs-container">



					<xul:arrowscrollbox anonid="arrowscrollbox" orient="horizontal" flex="1" style="min-width: 1px;" chromedir="&locale.dir;" clicktoscroll="true" class="tabbrowser-arrowscrollbox">
						<children/>
					</xul:arrowscrollbox>

					<!-- New tab button -->
					<xul:toolbarbutton 
						id="tabimprovelite-newbutton" 
						tooltiptext="&newTabButton.tooltip;" 
						oncommand="BrowserOpenTab();"
						image="chrome://tabimprovelite/skin/newTab_new-16.png"
						>
					</xul:toolbarbutton>      
					<xul:stack align="center" pack="end" chromedir="&locale.dir;">
						<xul:hbox flex="1" class="tabs-alltabs-box" anonid="alltabs-box"/>
						<xul:hbox flex="1" class="tabs-alltabs-box-animate" anonid="alltabs-box-animate"/>
						<xul:toolbarbutton class="tabs-alltabs-button" type="menu" anonid="alltabs-button" tooltipstring="&listAllTabs.label;">
							<xul:menupopup class="tabs-alltabs-popup" anonid="alltabs-popup" position="after_end"/>
						</xul:toolbarbutton>
					</xul:stack>

					<xul:hbox anonid="tabstrip-closebutton" class="tabs-closebutton-box" align="center" pack="end" chromedir="&locale.dir;" collapsed="true">
						<xul:toolbarbutton anonid="tabs-closebutton" class="close-button tabs-closebutton" chromedir="&locale.dir;"/>
					</xul:hbox>
				</xul:hbox>
			</xul:stack>
		</content>
	</binding>
  
</bindings>
