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

Side by Side Diff: ui/gfx/color_palette.h

Issue 1438513003: [MD] Implement incognito colors as a NativeTheme (for Aura). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: init param, pkasting feedback Created 5 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | ui/native_theme/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GFX_COLOR_PALETTE_H_ 5 #ifndef UI_GFX_COLOR_PALETTE_H_
6 #define UI_GFX_COLOR_PALETTE_H_ 6 #define UI_GFX_COLOR_PALETTE_H_
7 7
8 #include "third_party/skia/include/core/SkColor.h" 8 #include "third_party/skia/include/core/SkColor.h"
9 9
10 namespace gfx { 10 namespace gfx {
11 11
12 // A placeholder value for unset colors. This should never be visible and is red
13 // as a visual flag for misbehaving code.
14 const SkColor kPlaceholderColor = SK_ColorRED;
15
12 const SkColor kChromeIconGrey = SkColorSetRGB(0x5A, 0x5A, 0x5A); 16 const SkColor kChromeIconGrey = SkColorSetRGB(0x5A, 0x5A, 0x5A);
13 17
14 // The number refers to the shade of darkness. Each color in the MD 18 // The number refers to the shade of darkness. Each color in the MD
15 // palette ranges from 100-900. 19 // palette ranges from 100-900.
16 const SkColor kGoogleBlue300 = SkColorSetRGB(0x7B, 0xAA, 0xF7); 20 const SkColor kGoogleBlue300 = SkColorSetRGB(0x7B, 0xAA, 0xF7);
17 const SkColor kGoogleBlue500 = SkColorSetRGB(0x42, 0x85, 0xF4); 21 const SkColor kGoogleBlue500 = SkColorSetRGB(0x42, 0x85, 0xF4);
22 const SkColor kGoogleBlue700 = SkColorSetRGB(0x33, 0x67, 0xD6);
23 const SkColor kGoogleRed300 = SkColorSetRGB(0xE6, 0x7C, 0x73);
18 const SkColor kGoogleRed700 = SkColorSetRGB(0xC5, 0x39, 0x29); 24 const SkColor kGoogleRed700 = SkColorSetRGB(0xC5, 0x39, 0x29);
25 const SkColor kGoogleGreen300 = SkColorSetRGB(0x57, 0xBB, 0x8A);
19 const SkColor kGoogleGreen700 = SkColorSetRGB(0x0B, 0x80, 0x43); 26 const SkColor kGoogleGreen700 = SkColorSetRGB(0x0B, 0x80, 0x43);
27 const SkColor kGoogleYellow300 = SkColorSetRGB(0xF7, 0xCB, 0x4D);
20 const SkColor kGoogleYellow700 = SkColorSetRGB(0xF0, 0x93, 0x00); 28 const SkColor kGoogleYellow700 = SkColorSetRGB(0xF0, 0x93, 0x00);
21 29
22 } // namespace gfx 30 } // namespace gfx
23 31
24 #endif // UI_GFX_COLOR_PALETTE_H_ 32 #endif // UI_GFX_COLOR_PALETTE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_view_views.cc ('k') | ui/native_theme/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698