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

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: Created 8 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
« cc/CCLayerTreeHostImpl.cpp ('K') | « cc/CCSettings.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/LayerChromium.h
===================================================================
--- cc/LayerChromium.h (revision 156389)
+++ cc/LayerChromium.h (working copy)
@@ -148,8 +148,10 @@
void setForceRenderSurface(bool);
IntSize scrollDelta() const { return IntSize(); }
+ FloatSize localOffset() const { return FloatSize(); }
enne (OOO) 2012/09/13 19:40:54 This seriously needs a comment describing what thi
aelias_OOO_until_Jul13 2012/09/13 19:47:41 In the WebKit bug, I proposed collapsing m_localOf
Jeff Timanus 2012/09/13 19:58:50 I'm working on wrapping all of these transforms as
float pageScaleDelta() const { return 1; }
+ float pageScaleFactor() const { return 1; }
enne (OOO) 2012/09/13 19:40:54 Why is the page scale factor 1 on the main thread?
aelias_OOO_until_Jul13 2012/09/13 19:47:41 I would also like us to get the right scale on the
Jeff Timanus 2012/09/13 19:58:50 The page scale factor is 1 because of the change s
void setDoubleSided(bool);
bool doubleSided() const { return m_doubleSided; }
« cc/CCLayerTreeHostImpl.cpp ('K') | « cc/CCSettings.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698