Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index 88c66d3199d3d43f1aa83c3614b040d0ca707a03..710b4c845c2427ed92b36f644ff832c58d113cbf 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -19,6 +19,7 @@ |
#include "cc/base/cc_export.h" |
#include "cc/base/scoped_ptr_vector.h" |
#include "cc/debug/latency_info.h" |
+#include "cc/input/top_controls_state.h" |
#include "cc/layers/layer_lists.h" |
#include "cc/output/output_surface.h" |
#include "cc/scheduler/rate_limiter.h" |
@@ -233,8 +234,8 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { |
void SetDeviceScaleFactor(float device_scale_factor); |
float device_scale_factor() const { return device_scale_factor_; } |
- void UpdateTopControlsState(bool enable_hiding, |
- bool enable_showing, |
+ void UpdateTopControlsState(TopControlsState constraints, |
+ TopControlsState current, |
bool animate); |
HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } |