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

Unified Diff: ui/gfx/transform.h

Issue 6993002: Adds assignment operator like function to Transform. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 | « no previous file | ui/gfx/transform_skia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/transform.h
diff --git a/ui/gfx/transform.h b/ui/gfx/transform.h
index 611db9e884a3d35c6f593657c040d4d4aa74ecb3..ce3fb67ed38ca11c7de11fc9a940d1fd8a66e780 100644
--- a/ui/gfx/transform.h
+++ b/ui/gfx/transform.h
@@ -74,6 +74,9 @@ class Transform {
// Applies transformation on the rectangle. Returns true of the rectangle is
// transformed successfully.
virtual bool TransformRect(gfx::Rect* rect) = 0;
+
+ // operator=.
+ virtual void Copy(const Transform& transform) = 0;
};
} // namespace ui
« no previous file with comments | « no previous file | ui/gfx/transform_skia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698