Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index 6c4634c00b3eb649bc3adf9ff19c43c0d6efd658..9118e12b05c81c6510b9ef7e427abf4de21ad0cd 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -224,6 +224,11 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient { |
void RegisterSelection(const LayerSelection& selection); |
+ bool have_scroll_event_handlers() const { |
+ return have_scroll_event_handlers_; |
+ } |
+ void SetHaveScrollEventHandlers(bool have_event_handlers); |
+ |
bool have_wheel_event_handlers() const { return have_wheel_event_handlers_; } |
void SetHaveWheelEventHandlers(bool have_event_handlers); |
@@ -532,6 +537,7 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient { |
SkColor background_color_; |
bool has_transparent_background_; |
+ bool have_scroll_event_handlers_; |
bool have_wheel_event_handlers_; |
scoped_ptr<AnimationRegistrar> animation_registrar_; |