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

Unified Diff: ui/views/widget/widget.h

Issue 9562038: ui/gfx: Make gfx::Canvas inherit from gfx::CanvasSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes Created 8 years, 10 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
Index: ui/views/widget/widget.h
diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h
index 527914a886c5fc2b8a21dd0fcc360ce50db32df9..90c2d80f6076eec0898324642a64667b040f1e02 100644
--- a/ui/views/widget/widget.h
+++ b/ui/views/widget/widget.h
@@ -35,7 +35,7 @@
#endif
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Point;
class Rect;
}
@@ -623,7 +623,7 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate,
virtual bool HasFocusManager() const OVERRIDE;
virtual bool OnNativeWidgetPaintAccelerated(
const gfx::Rect& dirty_region) OVERRIDE;
- virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) OVERRIDE;
+ virtual void OnNativeWidgetPaint(gfx::CanvasSkia* canvas) OVERRIDE;
virtual int GetNonClientComponent(const gfx::Point& point) OVERRIDE;
virtual bool OnKeyEvent(const KeyEvent& event) OVERRIDE;
virtual bool OnMouseEvent(const MouseEvent& event) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698