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..7d0260e4dde809e34d6ac55f5e487d52c7bbdeb6 100644 |
| --- a/cc/trees/layer_tree_host.h |
| +++ b/cc/trees/layer_tree_host.h |
| @@ -238,6 +238,7 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { |
| void UpdateTopControlsState(TopControlsState constraints, |
| TopControlsState current, |
| bool animate); |
| + void UpdateTopControlsStatePreservingConstraints(bool show); |
|
aelias_OOO_until_Jul13
2013/06/10 05:11:25
Please change the arguments here to "TopControlsSt
Jinsuk Kim
2013/06/10 05:37:09
Done.
|
| HeadsUpDisplayLayer* hud_layer() const { return hud_layer_.get(); } |
| @@ -256,6 +257,7 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { |
| bool in_paint_layer_contents() const { return in_paint_layer_contents_; } |
| + |
|
aelias_OOO_until_Jul13
2013/06/10 05:11:25
Nit: extra newline
Jinsuk Kim
2013/06/10 05:37:09
Done.
|
| void IncrementLCDTextMetrics( |
| bool update_total_num_cc_layers_can_use_lcd_text, |
| bool update_total_num_cc_layers_will_use_lcd_text); |
| @@ -366,6 +368,11 @@ class CC_EXPORT LayerTreeHost : NON_EXPORTED_BASE(public RateLimiterClient) { |
| }; |
| LCDTextMetrics lcd_text_metrics_; |
| + TopControlsState top_controls_constraints_; |
| + TopControlsState GetTopControlsConstraints() const { |
|
aelias_OOO_until_Jul13
2013/06/10 05:11:25
No need for this private getter, please delete it.
Jinsuk Kim
2013/06/10 05:37:09
Done.
|
| + return top_controls_constraints_; |
| + } |
| + |
| DISALLOW_COPY_AND_ASSIGN(LayerTreeHost); |
| }; |