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

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..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);
};
« 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