| Index: cc/trees/layer_tree_host.cc
|
| diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
|
| index cca8c6763635e27f3436e6cb8c854c591eb5b9e2..5ad2cbedc00b524f54e7c0a93ce3f52ba5297c56 100644
|
| --- a/cc/trees/layer_tree_host.cc
|
| +++ b/cc/trees/layer_tree_host.cc
|
| @@ -1050,6 +1050,15 @@ void LayerTreeHost::UpdateTopControlsState(bool enable_hiding,
|
| animate));
|
| }
|
|
|
| +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;
|
|
|