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

Unified Diff: cc/trees/layer_tree_host.h

Issue 511253003: Made Blink aware of top controls offset (Chromium-side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed crash + mojo example build break Created 6 years, 3 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 | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
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 10537b094177de0ca60fbeb8fe25bbb9309f6701..277f05c0b8aa0e3647d8f479c25de31d439665e9 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -196,7 +196,8 @@ class CC_EXPORT LayerTreeHost {
bool UseGpuRasterization() const;
void SetViewportSize(const gfx::Size& device_viewport_size);
- void SetTopControlsLayoutHeight(float top_controls_layout_height);
+ void SetTopControlsLayoutHeight(float height);
+ void SetTopControlsContentOffset(float offset);
gfx::Size device_viewport_size() const { return device_viewport_size_; }
@@ -388,6 +389,7 @@ class CC_EXPORT LayerTreeHost {
gfx::Size device_viewport_size_;
float top_controls_layout_height_;
+ float top_controls_content_offset_;
float device_scale_factor_;
bool visible_;
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698