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

Unified Diff: ui/gfx/transform.h

Issue 2251303003: Implement position: sticky updates on compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master and add comments to WebLayerStickyPositionConstraint members. Created 4 years, 3 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 | « third_party/WebKit/public/platform/WebLayerStickyPositionConstraint.h ('k') | ui/gfx/transform.cc » ('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 4e9ebcf3ccd919f3df4882a0c1419bc25cdaf0e5..469f6e03c38c695f86cea1fa284300e82687f296 100644
--- a/ui/gfx/transform.h
+++ b/ui/gfx/transform.h
@@ -96,7 +96,9 @@ class GFX_EXPORT Transform {
// Applies the current transformation on a translation and assigns the result
// to |this|.
+ void Translate(const Vector2dF& offset);
void Translate(SkMScalar x, SkMScalar y);
+ void Translate3d(const Vector3dF& offset);
void Translate3d(SkMScalar x, SkMScalar y, SkMScalar z);
// Applies the current transformation on a skew and assigns the result
« no previous file with comments | « third_party/WebKit/public/platform/WebLayerStickyPositionConstraint.h ('k') | ui/gfx/transform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698