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

Unified Diff: cc/LayerChromium.h

Issue 10916279: Chromium compositor change implementing page-scale driven pinch-zoom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebaselined to 160422. Created 8 years, 2 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 | « cc/CCThreadProxy.cpp ('k') | cc/LayerChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/LayerChromium.h
===================================================================
--- cc/LayerChromium.h (revision 160422)
+++ cc/LayerChromium.h (working copy)
@@ -156,7 +156,8 @@
IntSize scrollDelta() const { return IntSize(); }
- float pageScaleDelta() const { return 1; }
+ void setImplTransform(const WebKit::WebTransformationMatrix&);
+ const WebKit::WebTransformationMatrix& implTransform() const { return m_implTransform; }
void setDoubleSided(bool);
bool doubleSided() const { return m_doubleSided; }
@@ -375,6 +376,8 @@
float m_contentsScale;
bool m_boundsContainPageScale;
+ WebKit::WebTransformationMatrix m_implTransform;
+
WebKit::WebAnimationDelegate* m_layerAnimationDelegate;
WebKit::WebLayerScrollClient* m_layerScrollClient;
};
« no previous file with comments | « cc/CCThreadProxy.cpp ('k') | cc/LayerChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698