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

Unified Diff: mojo/services/html_viewer/weblayertreeview_impl.h

Issue 901813002: Normalize top controls offset to (0, 1), Chromium-side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/input/top_controls_manager.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/html_viewer/weblayertreeview_impl.h
diff --git a/mojo/services/html_viewer/weblayertreeview_impl.h b/mojo/services/html_viewer/weblayertreeview_impl.h
index 42ae1bc2f7dc7c5ca8c6da6fa776b9bdf887ada7..8a5d89f15caa3986de577a0b8cc492a570c125a0 100644
--- a/mojo/services/html_viewer/weblayertreeview_impl.h
+++ b/mojo/services/html_viewer/weblayertreeview_impl.h
@@ -89,6 +89,7 @@ class WebLayerTreeViewImpl : public blink::WebLayerTreeView,
double duration_sec);
virtual void heuristicsForGpuRasterizationUpdated(bool matches_heuristic) {}
virtual void setTopControlsContentOffset(float offset) {}
+ virtual void setTopControlsShownRatio(float ratio) {}
virtual void setNeedsAnimate();
virtual bool commitRequested() const;
virtual void didStopFlinging() {}
« cc/input/top_controls_manager.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698