<?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/global.css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/profiler.css"?>
<?xml-stylesheet href="chrome://browser/content/devtools/widgets.css"?>

<!DOCTYPE window [
<!ENTITY % profilerDTD SYSTEM "chrome://browser/locale/devtools/profiler.dtd">
  %profilerDTD;
]>

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

  <script type="application/javascript;version=1.8"
          src="chrome://browser/content/devtools/theme-switching.js"/>
  <script type="text/javascript" src="sidebar.js"/>
  <box flex="1" id="profiler-chrome"
    class="devtools-responsive-container theme-body">
    <vbox class="profiler-sidebar theme-sidebar">
      <toolbar class="devtools-toolbar">
        <hbox id="profiler-controls"
              class="devtools-toolbarbutton-group">
          <toolbarbutton id="profiler-start"
            tooltiptext="&startProfiler.tooltip;"
            class="devtools-toolbarbutton"
            disabled="true"/>
          <toolbarbutton id="profiler-import"
            class="devtools-toolbarbutton"
            disabled="true"
            label="&importProfile.label;"/>
        </hbox>
      </toolbar>

      <vbox id="profiles-list" flex="1">
      </vbox>
    </vbox>

    <splitter class="devtools-side-splitter devtools-invisible-splitter"/>

    <vbox flex="1" id="profiler-report">
      <!-- Example:
      <iframe id="profiler-cleo-1"
        src="devtools/cleopatra.html" flex="1"></iframe>
      -->
    </vbox>
  </box>
</window>
