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

Unified Diff: cc/trees/layer_tree_host_client.h

Issue 511253003: Made Blink aware of top controls offset (Chromium-side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added top_controls_content_offset Created 6 years, 3 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_client.h
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h
index 5d51fafefb7eab2c9c03186d4293ff382ee6ed30..0fe08b08091d2457eedaeef24b9a83cfb219103f 100644
--- a/cc/trees/layer_tree_host_client.h
+++ b/cc/trees/layer_tree_host_client.h
@@ -27,8 +27,9 @@ class LayerTreeHostClient {
virtual void BeginMainFrame(const BeginFrameArgs& args) = 0;
virtual void DidBeginMainFrame() = 0;
virtual void Layout() = 0;
- virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta,
- float page_scale) = 0;
+ virtual void ApplyViewportProperties(const gfx::Vector2d& scroll_delta,
aelias_OOO_until_Jul13 2014/09/03 19:38:14 ApplyViewportDeltas
bokan 2014/09/04 23:09:52 Done.
+ float page_scale,
+ float top_controls_delta) = 0;
// Creates an OutputSurface. If fallback is true, it should attempt to
// create an OutputSurface that is guaranteed to initialize correctly.
virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) = 0;

Powered by Google App Engine
This is Rietveld 408576698