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

Unified Diff: ui/native_theme/native_theme.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem Created 3 years, 11 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 | « ui/native_theme/common_theme.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 4645165f4c8cbe65605d8201b70d2a6c8492ffe9..3b5b6da2e424d9584a28283055fcfa7fad6f4328 100644
--- a/ui/native_theme/native_theme.h
+++ b/ui/native_theme/native_theme.h
@@ -8,13 +8,12 @@
#include "base/macros.h"
#include "base/observer_list.h"
#include "build/build_config.h"
+#include "cc/paint/paint_canvas.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/models/menu_separator_types.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/native_theme/native_theme_export.h"
-class SkCanvas;
-
namespace gfx {
class Rect;
class Size;
@@ -252,7 +251,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
const ExtraParams& extra) const = 0;
// Paint the part to the canvas.
- virtual void Paint(SkCanvas* canvas,
+ virtual void Paint(cc::PaintCanvas* canvas,
Part part,
State state,
const gfx::Rect& rect,
@@ -260,7 +259,7 @@ class NATIVE_THEME_EXPORT NativeTheme {
// Paint part during state transition, used for overlay scrollbar state
// transition animation.
- virtual void PaintStateTransition(SkCanvas* canvas,
+ virtual void PaintStateTransition(cc::PaintCanvas* canvas,
Part part,
State startState,
State endState,
« no previous file with comments | « ui/native_theme/common_theme.cc ('k') | ui/native_theme/native_theme_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698