| Index: third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
|
| diff --git a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
|
| index 4d1dd0882a33c5f0aa9ee129ac6a517517c0a885..3e9a3fd5f7c5865db837888525936d9dceafba6f 100644
|
| --- a/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
|
| +++ b/third_party/WebKit/Source/core/frame/EventHandlerRegistry.h
|
| @@ -33,6 +33,8 @@ public:
|
| WheelEventPassive,
|
| TouchEventBlocking,
|
| TouchEventPassive,
|
| + TouchEndOrCancelEventBlocking,
|
| + TouchEndOrCancelEventPassive,
|
| #if ENABLE(ASSERT)
|
| // Additional event categories for verifying handler tracking logic.
|
| EventsForTesting,
|
| @@ -80,6 +82,9 @@ private:
|
| // removed an existing one.
|
| bool updateEventHandlerTargets(ChangeOperation, EventHandlerClass, EventTarget*);
|
|
|
| + // Update whether we have any touch handler or not.
|
| + void updateHaveTouchEventListeners();
|
| +
|
| // Called on the EventHandlerRegistry of the root Document to notify
|
| // clients when we have added the first handler or removed the last one for
|
| // a given event class. |hasActiveHandlers| can be used to distinguish
|
|
|