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

Unified Diff: ui/gfx/transform_util.h

Issue 694743002: Fix folder icon animation in app list. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launcher_page_api_do_actual_thing
Patch Set: Created 6 years, 1 month 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/gfx/transform_util.h
diff --git a/ui/gfx/transform_util.h b/ui/gfx/transform_util.h
index a77ded28f73c5021d75f97fd92708dc69d550ca4..7a0997f75d214c442d69780f53c08babbb94fec8 100644
--- a/ui/gfx/transform_util.h
+++ b/ui/gfx/transform_util.h
@@ -16,6 +16,11 @@ class Rect;
// Returns a scale transform at |anchor| point.
GFX_EXPORT Transform GetScaleTransform(const Point& anchor, float scale);
+// Returns a translate and scale transform which transforms from one rect to
Matt Giuca 2014/11/04 01:05:17 Drop the "translate and scale" --- that's an imple
calamity 2014/11/04 01:40:29 Done.
+// another.
+GFX_EXPORT Transform
+ GetRectTransform(const gfx::Rect& from, const gfx::Rect& to);
+
// Contains the components of a factored transform. These components may be
// blended and recomposed.
struct GFX_EXPORT DecomposedTransform {

Powered by Google App Engine
This is Rietveld 408576698