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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 14999010: Allows fullscreen to be triggered with the key events used for scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 7 years, 7 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
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());

Powered by Google App Engine
This is Rietveld 408576698