Chromium Code Reviews| Index: cc/trees/layer_tree_host.h |
| diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
| index 35a97c7a2823d872ed2bf2e5121a5b4e1e3b74f3..d42b008193c445f23f0989378711bdf1c1102e6a 100644 |
| --- a/cc/trees/layer_tree_host.h |
| +++ b/cc/trees/layer_tree_host.h |
| @@ -238,6 +238,9 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { |
| void UpdateTopControlsState(TopControlsState constraints, |
| TopControlsState current, |
| bool animate); |
| + void UpdateTopControlsStatePreservingConstraints( |
| + TopControlsState current, |
| + bool animate); |
| HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } |
| @@ -366,6 +369,8 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { |
| }; |
| LCDTextMetrics lcd_text_metrics_; |
| + TopControlsState top_controls_constraints_; |
|
jamesr
2013/06/10 23:48:31
where is this initialized?
Jinsuk Kim
2013/06/11 04:53:18
Good catch. Put the initialization in RenderViewIm
|
| + |
| DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| }; |