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

Unified Diff: cc/layers/layer.h

Issue 2840143002: [cc] Change semantics of fixed-pos container layer
Patch Set: add back inner viewport container layer as fixed-pos container Created 3 years, 8 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/layers/layer_position_constraint_unittest.cc » ('j') | cc/test/layer_tree_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 4debc46d83335be4ba9f89de9bae9ffe42d59afc..3ec4d8e06b7f45dbe532a040a45ea4da2c7dba0f 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -218,6 +218,7 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
void SetScrollClipLayerId(int clip_layer_id);
bool scrollable() const { return inputs_.scroll_clip_layer_id != INVALID_ID; }
Layer* scroll_clip_layer() const;
+ int scroll_clip_layer_id() const { return inputs_.scroll_clip_layer_id; }
void SetUserScrollable(bool horizontal, bool vertical);
bool user_scrollable_horizontal() const {
« no previous file with comments | « no previous file | cc/layers/layer_position_constraint_unittest.cc » ('j') | cc/test/layer_tree_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698