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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 22313011: (not for review) Add overhang resource (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_wrap_mode
Patch Set: Created 7 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/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 ae6f3c1cadaca0ed3225606d1335050d717752e0..c700736eb34180343d8d4f7c4c053e8ebca7cf18 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -269,6 +269,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_image_size);
+
void SetDeviceScaleFactor(float device_scale_factor);
float device_scale_factor() const { return device_scale_factor_; }
@@ -534,6 +537,9 @@ class CC_EXPORT LayerTreeHostImpl
// the page when the keyboard is up.
float overdraw_bottom_height_;
+ UIResourceId overhang_ui_resource_id_;
+ gfx::Size overhang_image_size_;
+
// Optional top-level constraints that can be set by the OutputSurface. The
// external_viewport_'s size takes precedence over device_viewport_size_ for
// DrawQuad generation and Renderer; however, device_viewport_size_ is still
« 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