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

Unified Diff: ui/gfx/canvas.h

Issue 7044062: Use SkMatrix44 for the underlying implementation of ui::Transform (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Gardening patch Created 9 years, 5 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 | « skia/skia.gyp ('k') | ui/gfx/canvas_skia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index c83b797db01e550de6c70f0fd4531f40f0caf8e1..5154965094cb6cc1cc0af3be183221d37493202c 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -214,8 +214,10 @@ class Canvas {
// returned by BeginPlatformPaint().
virtual void EndPlatformPaint() = 0;
+#if !defined(OS_MACOSX)
// Apply transformation on the canvas.
virtual void Transform(const ui::Transform& transform) = 0;
+#endif
// Create a texture ID that can be used for accelerated drawing.
virtual ui::TextureID GetTextureID() = 0;
« no previous file with comments | « skia/skia.gyp ('k') | ui/gfx/canvas_skia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698