Index: Source/core/page/EventHandler.h |
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h |
index 183a4acb46c01ba6bfc5a990b9a2aee7e356c7b9..4ac6ddcd132a4e29d30d549649c617240c2fc3e0 100644 |
--- a/Source/core/page/EventHandler.h |
+++ b/Source/core/page/EventHandler.h |
@@ -148,6 +148,10 @@ public: |
bool bestContextMenuNodeForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntPoint& targetPoint, Node*& targetNode); |
bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSize& touchRadius, IntRect& targetArea, Node*& targetNode); |
+ void suspendActiveIntervalTimer(); |
Rick Byers
2013/12/13 22:52:25
To minimize impact on EventHandler API surface, I'
|
+ void resumeActiveIntervalTimer(); |
+ void fireActiveIntervalTimer(); |
+ |
bool adjustGesturePosition(const PlatformGestureEvent&, IntPoint& adjustedPoint); |
bool sendContextMenuEvent(const PlatformMouseEvent&); |
@@ -378,7 +382,7 @@ private: |
OwnPtr<IntPoint> m_lastSyntheticPanLocation; |
float m_syntheticPageScaleFactor; |
- Timer<EventHandler> m_activeIntervalTimer; |
+ MockableTimer<EventHandler> m_activeIntervalTimer; |
double m_lastShowPressTimestamp; |
RefPtr<Element> m_lastDeferredTapElement; |
}; |