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

Unified Diff: cc/layer_tree_host_client.h

Issue 12082012: Implement desktop compatibility viewport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aelias
Patch Set: Created 7 years, 11 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/layer_tree_host.cc ('k') | cc/layer_tree_host_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_client.h
diff --git a/cc/layer_tree_host_client.h b/cc/layer_tree_host_client.h
index 6657f59a8f268e8e7e4004810d31d3a327f28e41..b13217478aec119b0ae589dae64d607e801c3d4e 100644
--- a/cc/layer_tree_host_client.h
+++ b/cc/layer_tree_host_client.h
@@ -23,7 +23,7 @@ public:
virtual void didBeginFrame() = 0;
virtual void animate(double frameBeginTime) = 0;
virtual void layout() = 0;
- virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale) = 0;
+ virtual void applyScrollAndScale(gfx::Vector2d scrollDelta, float pageScale, gfx::Vector2d desktopCompatibilityViewportOffsetFromScrollPositionDelta) = 0;
virtual scoped_ptr<OutputSurface> createOutputSurface() = 0;
virtual void didRecreateOutputSurface(bool success) = 0;
virtual scoped_ptr<InputHandler> createInputHandler() = 0;
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698