Index: cc/trees/layer_tree_host_impl.h |
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
index f33a19b1c3cf23b7e7165a0fa5e2294760f17cff..787d87d7ff7cc72717e5cfe34f74c92884bd8bca 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -159,6 +159,8 @@ class CC_EXPORT LayerTreeHostImpl |
ui::LatencyInfo* latency) OVERRIDE; |
// TopControlsManagerClient implementation. |
+ virtual void SetControlsTopOffset(float offset) OVERRIDE; |
+ virtual float ControlsTopOffset() const OVERRIDE; |
virtual void DidChangeTopControlsPosition() OVERRIDE; |
virtual bool HaveRootScrollLayer() const OVERRIDE; |
@@ -342,11 +344,6 @@ class CC_EXPORT LayerTreeHostImpl |
void SetViewportSize(const gfx::Size& device_viewport_size); |
gfx::Size device_viewport_size() const { return device_viewport_size_; } |
- void SetTopControlsLayoutHeight(float top_controls_layout_height); |
- float top_controls_layout_height() const { |
- return top_controls_layout_height_; |
- } |
- |
void SetOverhangUIResource(UIResourceId overhang_ui_resource_id, |
const gfx::Size& overhang_ui_resource_size); |
@@ -663,9 +660,6 @@ class CC_EXPORT LayerTreeHostImpl |
UIResourceId overhang_ui_resource_id_; |
gfx::Size overhang_ui_resource_size_; |
- // Height of the top controls as known by Blink. |
- float top_controls_layout_height_; |
- |
// Optional top-level constraints that can be set by the OutputSurface. |
// - external_transform_ applies a transform above the root layer |
// - external_viewport_ is used DrawProperties, tile management and |