Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(608)

Side by Side Diff: Source/devtools/front_end/common/Color.js

Issue 430463002: DevTools: highlight page regions as paths, not quads (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review comments addressed Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Joseph Pecoraro 3 * Copyright (C) 2009 Joseph Pecoraro
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 WebInspector.Color.PageHighlight = { 620 WebInspector.Color.PageHighlight = {
621 Content: WebInspector.Color.fromRGBA([111, 168, 220, .66]), 621 Content: WebInspector.Color.fromRGBA([111, 168, 220, .66]),
622 ContentLight: WebInspector.Color.fromRGBA([111, 168, 220, .5]), 622 ContentLight: WebInspector.Color.fromRGBA([111, 168, 220, .5]),
623 ContentOutline: WebInspector.Color.fromRGBA([9, 83, 148]), 623 ContentOutline: WebInspector.Color.fromRGBA([9, 83, 148]),
624 Padding: WebInspector.Color.fromRGBA([147, 196, 125, .55]), 624 Padding: WebInspector.Color.fromRGBA([147, 196, 125, .55]),
625 PaddingLight: WebInspector.Color.fromRGBA([147, 196, 125, .4]), 625 PaddingLight: WebInspector.Color.fromRGBA([147, 196, 125, .4]),
626 Border: WebInspector.Color.fromRGBA([255, 229, 153, .66]), 626 Border: WebInspector.Color.fromRGBA([255, 229, 153, .66]),
627 BorderLight: WebInspector.Color.fromRGBA([255, 229, 153, .5]), 627 BorderLight: WebInspector.Color.fromRGBA([255, 229, 153, .5]),
628 Margin: WebInspector.Color.fromRGBA([246, 178, 107, .66]), 628 Margin: WebInspector.Color.fromRGBA([246, 178, 107, .66]),
629 MarginLight: WebInspector.Color.fromRGBA([246, 178, 107, .5]), 629 MarginLight: WebInspector.Color.fromRGBA([246, 178, 107, .5]),
630 EventTarget: WebInspector.Color.fromRGBA([255, 196, 196, .66]) 630 EventTarget: WebInspector.Color.fromRGBA([255, 196, 196, .66]),
631 Shape: WebInspector.Color.fromRGBA([96, 82, 177, 0.8]),
632 ShapeMargin: WebInspector.Color.fromRGBA([96, 82, 127, .6])
631 } 633 }
632 634
633 WebInspector.Color.Format = { 635 WebInspector.Color.Format = {
634 Original: "original", 636 Original: "original",
635 Nickname: "nickname", 637 Nickname: "nickname",
636 HEX: "hex", 638 HEX: "hex",
637 ShortHEX: "shorthex", 639 ShortHEX: "shorthex",
638 RGB: "rgb", 640 RGB: "rgb",
639 RGBA: "rgba", 641 RGBA: "rgba",
640 HSL: "hsl", 642 HSL: "hsl",
641 HSLA: "hsla" 643 HSLA: "hsla"
642 } 644 }
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorOverlayPage.html ('k') | Source/devtools/front_end/sdk/DOMModel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698