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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 12210050: Expose FS show/hide thresholds to Command Line (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | cc/layer_tree_settings.h » ('j') | cc/switches.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index d1e90409007a922b5268a96b5b7f4a61af1e3151..8d59c44b6448ae8a6073af59c4ddb4db9c3ac638 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -163,8 +163,12 @@ LayerTreeHostImpl::LayerTreeHostImpl(const LayerTreeSettings& settings, LayerTre
DCHECK(m_proxy->isImplThread());
didVisibilityChange(this, m_visible);
- if (settings.calculateTopControlsPosition)
- m_topControlsManager = TopControlsManager::Create(this, settings.topControlsHeight);
+ if (settings.calculateTopControlsPosition) {
+ m_topControlsManager = TopControlsManager::Create(this,
+ settings.topControlsHeight,
+ settings.topControlsShowThreshold,
+ settings.topControlsHideThreshold);
+ }
// LTHI always has an active tree.
m_activeTree = LayerTreeImpl::create(this);
« no previous file with comments | « no previous file | cc/layer_tree_settings.h » ('j') | cc/switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698