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

Unified Diff: content/renderer/render_widget.cc

Issue 11967015: Hide location bar on WebKit programmatic scroll. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some plumbing. Created 7 years, 10 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
« cc/top_controls_manager.cc ('K') | « content/renderer/render_widget.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget.cc
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc
index a7cf43788dd38a1b069bf84c47a9837d4e3ba077..cc4b3eb4dc6cf080f8138bba48e4e85737934427 100644
--- a/content/renderer/render_widget.cc
+++ b/content/renderer/render_widget.cc
@@ -1481,6 +1481,13 @@ void RenderWidget::show(WebNavigationPolicy) {
SetPendingWindowRect(initial_pos_);
}
+void RenderWidget::hideTopControls() {
+ if (!compositor_)
jamesr 2013/03/04 21:44:03 Do you expect this case to be hit? Why?
John Knottenbelt 2013/03/05 16:41:48 It seems that all method invocations on compositor
+ return;
+
+ compositor_->layer_tree_host()->hideTopControls();
+}
+
void RenderWidget::didFocus() {
}
« cc/top_controls_manager.cc ('K') | « content/renderer/render_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698