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

Unified Diff: ui/views/widget/native_widget_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/views/widget/native_widget_delegate.h
diff --git a/ui/views/widget/native_widget_delegate.h b/ui/views/widget/native_widget_delegate.h
index 4fac0b0d2db40c4e8e75236b92ff6166e9457149..9fa82d0c333dba1235906dd2d95541ae562dc89a 100644
--- a/ui/views/widget/native_widget_delegate.h
+++ b/ui/views/widget/native_widget_delegate.h
@@ -10,7 +10,7 @@
#include "ui/views/views_export.h"
namespace gfx {
-class Canvas;
+class CanvasSkia;
class Point;
class Size;
}
@@ -89,7 +89,7 @@ class VIEWS_EXPORT NativeWidgetDelegate {
// Paints the rootview in the canvas. This will also refresh the compositor
// tree if necessary when accelerated painting is enabled.
- virtual void OnNativeWidgetPaint(gfx::Canvas* canvas) = 0;
+ virtual void OnNativeWidgetPaint(gfx::CanvasSkia* canvas) = 0;
// Returns the non-client component (see ui/base/hit_test.h) containing
// |point|, in client coordinates.

Powered by Google App Engine
This is Rietveld 408576698