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

Unified Diff: base/gfx/native_theme.h

Issue 125109: Refactor the PlatformContext layer to have only one class. (Closed)
Patch Set: Created 11 years, 6 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 | « app/gfx/canvas_win.cc ('k') | base/gfx/native_theme.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/native_theme.h
diff --git a/base/gfx/native_theme.h b/base/gfx/native_theme.h
index 7769c4ee85b515da872f90f6dac4efcaf6f08ac6..4516cba6bd8dc6d371a6648fa8af20a797caecf3 100644
--- a/base/gfx/native_theme.h
+++ b/base/gfx/native_theme.h
@@ -18,7 +18,7 @@
#include "third_party/skia/include/core/SkColor.h"
namespace skia {
-class PlatformCanvasWin;
+class PlatformCanvas;
} // namespace skia
namespace gfx {
@@ -174,7 +174,7 @@ class NativeTheme {
int classic_state,
RECT* target_rect,
RECT* align_rect,
- skia::PlatformCanvasWin* canvas) const;
+ skia::PlatformCanvas* canvas) const;
// Paints a scrollbar thumb or gripper.
HRESULT PaintScrollbarThumb(HDC hdc,
@@ -205,7 +205,7 @@ class NativeTheme {
int state_id,
int classic_state,
RECT* rect,
- skia::PlatformCanvasWin* canvas) const;
+ skia::PlatformCanvas* canvas) const;
bool IsThemingActive() const;
« no previous file with comments | « app/gfx/canvas_win.cc ('k') | base/gfx/native_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698