browser/devtools/eyedropper/eyedropper.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/devtools/eyedropper/eyedropper.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +
     1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.9 +
    1.10 +<!DOCTYPE window []>
    1.11 +
    1.12 +<?xml-stylesheet href="chrome://browser/skin/devtools/common.css"?>
    1.13 +<?xml-stylesheet href="chrome://browser/skin/devtools/eyedropper.css" type="text/css"?>
    1.14 +
    1.15 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    1.16 +  <commandset id="eyedropper-commandset">
    1.17 +    <command id="eyedropper-cmd-close"
    1.18 +             oncommand="void(0);"/>
    1.19 +    <command id="eyedropper-cmd-copy"
    1.20 +             oncommand="void(0);"/>
    1.21 +  </commandset>
    1.22 +
    1.23 +  <keyset id="eyedropper-keyset">
    1.24 +    <key id="eyedropper-key-escape"
    1.25 +         keycode="VK_ESCAPE"
    1.26 +         command="eyedropper-cmd-close"/>
    1.27 +    <key id="eyedropper-key-enter"
    1.28 +         keycode="VK_RETURN"
    1.29 +         command="eyedropper-cmd-copy"/>
    1.30 +  </keyset>
    1.31 +
    1.32 +  <box id="canvas-overflow">
    1.33 +    <canvas id="canvas" xmlns="http://www.w3.org/1999/xhtml" width="96" height="96">
    1.34 +    </canvas>
    1.35 +  </box>
    1.36 +  <hbox id="color-value-container">
    1.37 +    <hbox id="color-value-box">
    1.38 +      <box id="color-preview">
    1.39 +      </box>
    1.40 +      <label id="color-value" class="devtools-monospace">
    1.41 +      </label>
    1.42 +    </hbox>
    1.43 +  </hbox>
    1.44 +</window>
    1.45 \ No newline at end of file

mercurial