Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3841)

Unified Diff: cc/trees/layer_tree_host.h

Issue 14999010: Allows fullscreen to be triggered with the key events used for scrolling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « no previous file | cc/trees/layer_tree_host.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698