Chromium Code Reviews| 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) |