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

Unified Diff: ui/native_theme/native_theme.h

Issue 377423003: Lots of random cleanups, mostly for native_theme_win.cc: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweak switches Created 6 years, 5 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 | « chrome/browser/ui/libgtk2ui/gtk2_util.cc ('k') | ui/native_theme/native_theme_aura.h » ('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 8dc14f85c550992d2dab94bf1e2ce9beb1fb67ab..fa9ddbe7e26b7d63dd3753f35d52438f193a7420 100644
--- a/ui/native_theme/native_theme.h
+++ b/ui/native_theme/native_theme.h
@@ -90,7 +90,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
kHovered = 1,
kNormal = 2,
kPressed = 3,
- kMaxState = 4,
+ kNumStates = kPressed + 1,
};
// Each structure below holds extra information needed when painting a given
« no previous file with comments | « chrome/browser/ui/libgtk2ui/gtk2_util.cc ('k') | ui/native_theme/native_theme_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698