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

Unified Diff: ui/gfx/native_theme_base.h

Issue 8597015: Add a new GetSystemColor method to native theme. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move bug-check color constant out of header file Created 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/gfx/native_theme_base.h
diff --git a/ui/gfx/native_theme_base.h b/ui/gfx/native_theme_base.h
index 6488e684a8e2ae148acfa5953c3c97d19e66e649..a2cb1767bb31e328de18fb3f0dd0d94b2d711470 100644
--- a/ui/gfx/native_theme_base.h
+++ b/ui/gfx/native_theme_base.h
@@ -27,6 +27,9 @@ class NativeThemeBase : public NativeTheme {
const gfx::Rect& rect,
const ExtraParams& extra) const OVERRIDE;
+ // This implementation returns hardcoded default colors.
+ virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
+
protected:
NativeThemeBase();
virtual ~NativeThemeBase();
« no previous file with comments | « ui/gfx/native_theme.h ('k') | ui/gfx/native_theme_base.cc » ('j') | ui/gfx/native_theme_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698