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

Unified Diff: Source/core/page/EventHandler.h

Issue 112023010: Make EventHandler::ActiveIntervalTimer mockable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove FINAL from Timer declaration. Created 6 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
Index: Source/core/page/EventHandler.h
diff --git a/Source/core/page/EventHandler.h b/Source/core/page/EventHandler.h
index 0de3be6c7595b8bc18294b4ddd5ca65bfb6feecb..3e922e043e1645e7183849164ee545c0fae34750 100755
--- a/Source/core/page/EventHandler.h
+++ b/Source/core/page/EventHandler.h
@@ -149,6 +149,8 @@ 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);
+ MockableTimer<EventHandler>* getActiveIntervalTimerForTesting();
eseidel 2014/01/21 21:24:42 Normally we don't use "get" in our getters in Blin
+
bool adjustGesturePosition(const PlatformGestureEvent&, IntPoint& adjustedPoint);
bool sendContextMenuEvent(const PlatformMouseEvent&);
@@ -392,7 +394,7 @@ private:
OwnPtr<IntPoint> m_lastSyntheticPanLocation;
float m_syntheticPageScaleFactor;
- Timer<EventHandler> m_activeIntervalTimer;
+ MockableTimer<EventHandler> m_activeIntervalTimer;
double m_lastShowPressTimestamp;
RefPtr<Element> m_lastDeferredTapElement;
};

Powered by Google App Engine
This is Rietveld 408576698