diff options
author | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-08 22:41:48 +0000 |
---|---|---|
committer | aelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-08 22:41:48 +0000 |
commit | 1c0c9bc1d01dc2a4269b057bcad03bb5d40ea205 (patch) | |
tree | 2c0a3125707a2bba5512876ca8f4b8c9a2a46585 /cc/CCLayerTreeHost.h | |
parent | f2cc6640be54ff6219830133c583470c9f55906e (diff) | |
download | chromium_src-1c0c9bc1d01dc2a4269b057bcad03bb5d40ea205.zip chromium_src-1c0c9bc1d01dc2a4269b057bcad03bb5d40ea205.tar.gz chromium_src-1c0c9bc1d01dc2a4269b057bcad03bb5d40ea205.tar.bz2 |
Pinch-zoom applied via compositor instead of CSS transformation.
This is a rebased version of twiz's patch in 10916279.
Corresponding WK change: https://bugs.webkit.org/show_bug.cgi?id=93292
BUG=148816
Review URL: https://chromiumcodereview.appspot.com/11094004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160730 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/CCLayerTreeHost.h')
-rw-r--r-- | cc/CCLayerTreeHost.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/CCLayerTreeHost.h b/cc/CCLayerTreeHost.h index ac04bea..950a086 100644 --- a/cc/CCLayerTreeHost.h +++ b/cc/CCLayerTreeHost.h @@ -191,6 +191,7 @@ public: void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, double durationSec); void applyScrollAndScale(const CCScrollAndScaleSet&); + void setImplTransform(const WebKit::WebTransformationMatrix&); void startRateLimiter(WebKit::WebGraphicsContext3D*); void stopRateLimiter(WebKit::WebGraphicsContext3D*); @@ -267,6 +268,7 @@ private: float m_pageScaleFactor; float m_minPageScaleFactor, m_maxPageScaleFactor; + WebKit::WebTransformationMatrix m_implTransform; bool m_triggerIdleUpdates; SkColor m_backgroundColor; |