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

Unified Diff: cc/layer_tree_host.h

Issue 11967015: Hide location bar on WebKit programmatic scroll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't plumb through WebLayerTreeView 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 | « no previous file | cc/layer_tree_host.cc » ('j') | cc/top_controls_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host.h
diff --git a/cc/layer_tree_host.h b/cc/layer_tree_host.h
index 24bfa89ec40ced646868c4cb63877a2970f83ab6..2c2911a31d33a349e650d352576fb24e252edbe5 100644
--- a/cc/layer_tree_host.h
+++ b/cc/layer_tree_host.h
@@ -175,6 +175,8 @@ public:
void startPageScaleAnimation(gfx::Vector2d targetOffset, bool useAnchor, float scale, base::TimeDelta duration);
+ void programmaticScroll(gfx::Vector2d targetOffset);
+
void applyScrollAndScale(const ScrollAndScaleSet&);
// This function converts event coordinates when the deviceViewport is zoomed.
// Coordinates are transformed from logical pixels in the zoomed viewport to
« no previous file with comments | « no previous file | cc/layer_tree_host.cc » ('j') | cc/top_controls_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698