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..350347605f7863871db75de2b836a86c4159bb73 100644 |
--- a/cc/trees/layer_tree_host_client.h |
+++ b/cc/trees/layer_tree_host_client.h |
@@ -29,6 +29,10 @@ class LayerTreeHostClient { |
virtual void Layout() = 0; |
virtual void ApplyScrollAndScale(const gfx::Vector2d& scroll_delta, |
float page_scale) = 0; |
+ // TODO(bokan): This method is a shim while we need to keep both |
+ // virtual-viewport and ordinary pinch modes around. It will be removed in |
+ // place of the above method once we remove old-style pinch. |
+ virtual void SetTopControlsContentOffset(int offset) = 0; |
aelias_OOO_until_Jul13
2014/08/29 04:37:01
I think if you stop baking this value into FrameVi
bokan
2014/08/29 18:02:14
Assuming this can be done impl-side then yes. See
|
// 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; |