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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 14139013: Hide location bar on Javascript-initiated scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore handling of ViewMsg_UpdateTopControlsState in RenderViewImpl. 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: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 6c5946340d778f83fbbb3ca55392ec39fb7a15f5..79ce3dcf995721ad65f15a0639405ba192a1ada2 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -324,11 +324,12 @@ skia::RefPtr<SkPicture> RenderWidgetCompositor::CapturePicture() {
return layer_tree_host_->CapturePicture();
}
-void RenderWidgetCompositor::UpdateTopControlsState(bool enable_hiding,
- bool enable_showing,
- bool animate) {
- layer_tree_host_->UpdateTopControlsState(enable_hiding,
- enable_showing,
+void RenderWidgetCompositor::UpdateTopControlsState(
+ cc::TopControlsState constraints,
+ cc::TopControlsState current,
+ bool animate) {
+ layer_tree_host_->UpdateTopControlsState(constraints,
+ current,
animate);
}

Powered by Google App Engine
This is Rietveld 408576698