browser/devtools/eyedropper/eyedropper.xul
author JW Wang <jwwang@mozilla.com>
Tue, 18 Aug 2015 11:12:39 +0800
changeset 290760 157e41e329061531013562a923cdadd8a2afc635
parent 194896 8032e6ff137282b50076145b1d11e05cd1c8d52c
permissions -rw-r--r--
Bug 1195158. Part 2 - Have OggReader send TimedMetadata events through a event source instead of direct calls to AbstractMediaDecoder::QueueMetadata. r=cpearce.

<?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/. -->

<!DOCTYPE window []>

<?xml-stylesheet href="chrome://browser/skin/devtools/common.css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/eyedropper.css" type="text/css"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <commandset id="eyedropper-commandset">
    <command id="eyedropper-cmd-close"
             oncommand="void(0);"/>
    <command id="eyedropper-cmd-copy"
             oncommand="void(0);"/>
  </commandset>

  <keyset id="eyedropper-keyset">
    <key id="eyedropper-key-escape"
         keycode="VK_ESCAPE"
         command="eyedropper-cmd-close"/>
    <key id="eyedropper-key-enter"
         keycode="VK_RETURN"
         command="eyedropper-cmd-copy"/>
  </keyset>

  <box id="canvas-overflow">
    <canvas id="canvas" xmlns="http://www.w3.org/1999/xhtml" width="96" height="96">
    </canvas>
  </box>
  <hbox id="color-value-container">
    <hbox id="color-value-box">
      <box id="color-preview">
      </box>
      <label id="color-value" class="devtools-monospace">
      </label>
    </hbox>
  </hbox>
</window>