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

Unified Diff: ui/aura/window_delegate.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/aura/window_delegate.h
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
index 6247b89c9d1a1fe5426130f29338112fca5c058a..2d992c76656093ae7893d11d19fd41794cab816a 100644
--- a/ui/aura/window_delegate.h
+++ b/ui/aura/window_delegate.h
@@ -11,7 +11,7 @@
#include "ui/gfx/native_widget_types.h"
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Point;
class Rect;
class Size;
@@ -62,7 +62,7 @@ class AURA_EXPORT WindowDelegate {
virtual void OnCaptureLost() = 0;
// Asks the delegate to paint window contents into the supplied canvas.
- virtual void OnPaint(gfx::Canvas* canvas) = 0;
+ virtual void OnPaint(gfx::CanvasSkia* canvas) = 0;
// Called from Window's destructor before OnWindowDestroyed and before the
// children have been destroyed and the window has been removed from its
« ash/app_list/app_list_item_view.h ('K') | « ui/aura/window.cc ('k') | ui/gfx/canvas.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698