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

Unified Diff: cc/layers/layer.h

Issue 1646603004: Move scroll event handlers from layer to layer tree view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_cc_listeners
Patch Set: Rebase Created 4 years, 11 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/debug/debug_rect_history.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »
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 2b4272b78c0c2fc533d8da99b9fda45bdc7ef91f..82ba93b42f50f48ad12732d494a5963e417f644c 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -284,11 +284,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
return !!main_thread_scrolling_reasons_;
}
- void SetHaveScrollEventHandlers(bool have_scroll_event_handlers);
- bool have_scroll_event_handlers() const {
- return have_scroll_event_handlers_;
- }
-
void SetNonFastScrollableRegion(const Region& non_fast_scrollable_region);
const Region& non_fast_scrollable_region() const {
return non_fast_scrollable_region_;
@@ -720,7 +715,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
gfx::Vector2dF offset_to_transform_parent_;
uint32_t main_thread_scrolling_reasons_;
bool should_flatten_transform_from_property_tree_ : 1;
- bool have_scroll_event_handlers_ : 1;
bool user_scrollable_horizontal_ : 1;
bool user_scrollable_vertical_ : 1;
bool is_root_for_isolated_group_ : 1;
« no previous file with comments | « cc/debug/debug_rect_history.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698