<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/content/shared/widgets/widgets.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/widgets.css" type="text/css"?>
<?xml-stylesheet href="chrome://devtools/skin/storage.css" type="text/css"?>

<!DOCTYPE window [
  <!ENTITY % storageDTD SYSTEM "chrome://devtools/locale/storage.dtd">
  %storageDTD;
]>

<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <script type="application/javascript;version=1.8"
          src="chrome://devtools/content/shared/theme-switching.js"/>
  <script type="text/javascript" src="chrome://global/content/globalOverlay.js"/>

  <commandset id="editMenuCommands"/>

  <popupset id="storagePopupSet">
    <menupopup id="storage-tree-popup">
      <menuitem id="storage-tree-popup-delete-all"
                label="&storage.popupMenu.deleteAllLabel;"/>
      <menuitem id="storage-tree-popup-delete"/>
    </menupopup>
    <menupopup id="storage-table-popup">
      <menuitem id="storage-table-popup-delete"/>
      <menuitem id="storage-table-popup-delete-all-from"/>
      <menuitem id="storage-table-popup-delete-all"
                label="&storage.popupMenu.deleteAllLabel;"/>
    </menupopup>
  </popupset>

  <box flex="1" class="devtools-responsive-container theme-body">
    <vbox id="storage-tree"/>
    <splitter class="devtools-side-splitter"/>
    <vbox flex="1">
      <hbox id="storage-toolbar" class="devtools-toolbar">
        <textbox id="storage-searchbox"
                 class="devtools-filterinput"
                 type="search"
                 timeout="200"
                 placeholder="&searchBox.placeholder;"/>
      </hbox>
      <vbox id="storage-table" class="theme-sidebar" flex="1"/>
    </vbox>
    <splitter class="devtools-side-splitter"/>
    <vbox id="storage-sidebar" class="devtools-sidebar-tabs" hidden="true">
      <vbox flex="1"/>
    </vbox>
  </box>

</window>
