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

Unified Diff: cc/trees/layer_tree_host.h

Issue 476113004: Replace overdraw_bottom_height with top_controls_layout_height. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ScrollViewportRounding test Created 6 years, 4 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/output/compositor_frame_metadata.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 f1e343f080c1db6af64420999968e4c2ed19fb5a..10537b094177de0ca60fbeb8fe25bbb9309f6701 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -196,10 +196,9 @@ class CC_EXPORT LayerTreeHost {
bool UseGpuRasterization() const;
void SetViewportSize(const gfx::Size& device_viewport_size);
- void SetOverdrawBottomHeight(float overdraw_bottom_height);
+ void SetTopControlsLayoutHeight(float top_controls_layout_height);
gfx::Size device_viewport_size() const { return device_viewport_size_; }
- float overdraw_bottom_height() const { return overdraw_bottom_height_; }
void ApplyPageScaleDeltaFromImplSide(float page_scale_delta);
void SetPageScaleFactorAndLimits(float page_scale_factor,
@@ -388,7 +387,7 @@ class CC_EXPORT LayerTreeHost {
LayerTreeDebugState debug_state_;
gfx::Size device_viewport_size_;
- float overdraw_bottom_height_;
+ float top_controls_layout_height_;
float device_scale_factor_;
bool visible_;
« no previous file with comments | « cc/output/compositor_frame_metadata.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698