Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 97a27606b999fae68c29da5e64a392a53e04bf9b..13e2904fa9e90b8940fb600a489e6249ca20bf42 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -407,6 +407,15 @@ scoped_ptr<LayerTreeHostImpl> LayerTreeHost::CreateLayerTreeHostImpl( |
return host_impl.Pass(); |
} |
+void LayerTreeHost::ShowTopControls(bool show) { |
Ted C
2013/06/03 17:43:42
Same thing about moving this next to the other met
Jinsuk Kim
2013/06/05 08:21:07
Done.
|
+ proxy_->ImplThread()->PostTask( |
Ted C
2013/06/03 17:43:42
Similar to the other method, I would add this to t
Jinsuk Kim
2013/06/05 08:21:07
Done.
|
+ base::Bind( |
+ &TopControlsManager::UpdateTopControlsStatePreservingConstraints, |
+ top_controls_manager_weak_ptr_, |
+ show ? cc::SHOWN : cc::HIDDEN, |
+ true)); |
+} |
+ |
void LayerTreeHost::DidLoseOutputSurface() { |
TRACE_EVENT0("cc", "LayerTreeHost::DidLoseOutputSurface"); |
DCHECK(proxy_->IsMainThread()); |