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

Unified Diff: cc/layer_tree_host.cc

Issue 11967015: Hide location bar on WebKit programmatic scroll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some plumbing. Created 7 years, 10 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
Index: cc/layer_tree_host.cc
diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
index d120db00370db787c3fdafda604694f37e62482a..e891897f5f3c7c7c0b74cfb83b3bcc72f7f4e040 100644
--- a/cc/layer_tree_host.cc
+++ b/cc/layer_tree_host.cc
@@ -513,6 +513,13 @@ void LayerTreeHost::setPageScaleFactorAndLimits(float pageScaleFactor, float min
setNeedsCommit();
}
+void LayerTreeHost::hideTopControls()
+{
+ m_proxy->implThread()->postTask(
John Knottenbelt 2013/03/11 17:23:06 Posting the task to the TopControlsManager in this
jamesr 2013/03/14 19:38:34 I believe it always will arrive before the Commit
+ base::Bind(&TopControlsManager::HideTopControls,
+ m_topControlsManagerWeakPtr));
+}
+
void LayerTreeHost::setVisible(bool visible)
{
if (m_visible == visible)
« no previous file with comments | « cc/layer_tree_host.h ('k') | cc/top_controls_manager.h » ('j') | cc/top_controls_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698