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

Unified Diff: ui/gfx/native_theme.h

Issue 9101004: Factor more colors into NativeTheme. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gfx/native_theme_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_theme.h
diff --git a/ui/gfx/native_theme.h b/ui/gfx/native_theme.h
index a7fef8e03b3518d138998979c56535f4238c6719..900eb2f064d1bec360899c055cf790bf75c42f5a 100644
--- a/ui/gfx/native_theme.h
+++ b/ui/gfx/native_theme.h
@@ -216,9 +216,21 @@ class UI_EXPORT NativeTheme {
// Colors for GetSystemColor().
enum ColorId {
+ // Dialogs
kColorId_DialogBackground,
+ // FocusableBorder
kColorId_FocusedBorderColor,
- kColorId_UnfocusedBorderColor
+ kColorId_UnfocusedBorderColor,
+ // TextButton
+ kColorId_TextButtonBackgroundColor,
+ kColorId_TextButtonEnabledColor,
+ kColorId_TextButtonDisabledColor,
+ kColorId_TextButtonHighlightColor,
+ kColorId_TextButtonHoverColor,
+ // MenuItem
+ kColorId_EnabledMenuItemForegroundColor,
+ kColorId_DisabledMenuItemForegroundColor,
+ kColorId_FocusedMenuItemBackgroundColor
// TODO(benrg): move other hardcoded colors here.
};
« no previous file with comments | « no previous file | ui/gfx/native_theme_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698