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

Unified Diff: ui/gfx/native_theme_win.h

Issue 8597015: Add a new GetSystemColor method to native theme. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more code motion 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
« no previous file with comments | « ui/gfx/native_theme_gtk.cc ('k') | ui/gfx/native_theme_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/native_theme_win.h
diff --git a/ui/gfx/native_theme_win.h b/ui/gfx/native_theme_win.h
index 56be1db7a8be998040bb81ac750e7ba5100a9f94..8427442d015b6738be7b97d033357539b2400b6a 100644
--- a/ui/gfx/native_theme_win.h
+++ b/ui/gfx/native_theme_win.h
@@ -16,6 +16,7 @@
#include <uxtheme.h>
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/native_theme.h"
#include "ui/gfx/size.h"
@@ -103,12 +104,13 @@ class UI_EXPORT NativeThemeWin : public NativeTheme {
// NativeTheme Implementation:
virtual gfx::Size GetPartSize(Part part,
State state,
- const ExtraParams& extra) const;
+ const ExtraParams& extra) const OVERRIDE;
virtual void Paint(SkCanvas* canvas,
Part part,
State state,
const gfx::Rect& rect,
- const ExtraParams& extra) const;
+ const ExtraParams& extra) const OVERRIDE;
+ virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
void PaintToNonPlatformCanvas(SkCanvas* canvas,
Part part,
« no previous file with comments | « ui/gfx/native_theme_gtk.cc ('k') | ui/gfx/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698