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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 23805002: [cc] Enable specifying a overhang/gutter texture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporate review feedback Created 7 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/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index f5d7384cf6a46e67faa4b8475bb59f358e2d00a7..520ec7f4989f30ed1c99c6b7f5b74243bb740f3a 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -278,6 +278,9 @@ class CC_EXPORT LayerTreeHostImpl
void SetOverdrawBottomHeight(float overdraw_bottom_height);
float overdraw_bottom_height() const { return overdraw_bottom_height_; }
+ void SetOverhangUIResource(UIResourceId overhang_ui_resource_id,
+ gfx::Size overhang_ui_resource_size);
+
void SetDeviceScaleFactor(float device_scale_factor);
float device_scale_factor() const { return device_scale_factor_; }
@@ -539,6 +542,10 @@ class CC_EXPORT LayerTreeHostImpl
// pageScaleFactor=1.
float device_scale_factor_;
+ // UI resource to use for drawing overhang gutters.
+ UIResourceId overhang_ui_resource_id_;
+ gfx::Size overhang_ui_resource_size_;
+
// Vertical amount of the viewport size that's known to covered by a
// browser-side UI element, such as an on-screen-keyboard. This affects
// scrollable size since we want to still be able to scroll to the bottom of
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698