Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 16f6be75caae231fd8139dee24045fcb1004413d..fd4a55db25c2dfb7b629a7814915b3ef9def0ccb 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -990,6 +990,15 @@ void LayerTreeHost::EnableHidingTopControls(bool enable) { |
top_controls_manager_weak_ptr_, enable)); |
} |
+void LayerTreeHost::ShowTopControls(bool show) { |
+ if (!settings_.calculate_top_controls_position) |
+ return; |
+ |
+ proxy_->ImplThread()->PostTask( |
+ base::Bind(&TopControlsManager::ShowTopControls, |
+ top_controls_manager_weak_ptr_, show)); |
+} |
+ |
bool LayerTreeHost::BlocksPendingCommit() const { |
if (!root_layer_) |
return false; |