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

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: for review 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_win.h
diff --git a/ui/gfx/native_theme_win.h b/ui/gfx/native_theme_win.h
index 56be1db7a8be998040bb81ac750e7ba5100a9f94..d3110d7008cb3224e2c48ae213945a2f5c629bad 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"
@@ -96,6 +97,8 @@ class UI_EXPORT NativeThemeWin : public NativeTheme {
bool fill_content_area,
bool draw_edges) const;
+ virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
+
private:
NativeThemeWin();
~NativeThemeWin();
@@ -103,12 +106,12 @@ 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;
James Cook 2011/11/18 23:22:50 Thanks for fixing these.
void PaintToNonPlatformCanvas(SkCanvas* canvas,
Part part,

Powered by Google App Engine
This is Rietveld 408576698