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

Unified Diff: ui/native_theme/native_theme.h

Issue 143953007: Changes look for scrollbars on windows (2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 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 | « ui/gfx/nine_image_painter.cc ('k') | ui/native_theme/native_theme.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/native_theme.h
diff --git a/ui/native_theme/native_theme.h b/ui/native_theme/native_theme.h
index 98974145570f35ee7cb957d6562bba965a1a6f70..bc71120e22612374e5831e84325a91d2aeb346bf 100644
--- a/ui/native_theme/native_theme.h
+++ b/ui/native_theme/native_theme.h
@@ -78,11 +78,12 @@ class NATIVE_THEME_EXPORT NativeTheme {
// The state of the part.
enum State {
- kDisabled,
- kHovered,
- kNormal,
- kPressed,
- kMaxState,
+ // IDs defined as specific values for use in arrays.
+ kDisabled = 0,
+ kHovered = 1,
+ kNormal = 2,
+ kPressed = 3,
+ kMaxState = 4,
};
// Each structure below holds extra information needed when painting a given
« no previous file with comments | « ui/gfx/nine_image_painter.cc ('k') | ui/native_theme/native_theme.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698