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

Unified Diff: third_party/WebKit/Source/core/input/EventHandler.h

Issue 2514733003: Move EventHandler timers to per-frame task queues. (Closed)
Patch Set: Remove stray brace Created 4 years, 1 month 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: third_party/WebKit/Source/core/input/EventHandler.h
diff --git a/third_party/WebKit/Source/core/input/EventHandler.h b/third_party/WebKit/Source/core/input/EventHandler.h
index b1ad7d891afe84dfa5130b269225b48455e58924..f0c6776a114421e5e9f2dab28e7ae37a7b27ef84 100644
--- a/third_party/WebKit/Source/core/input/EventHandler.h
+++ b/third_party/WebKit/Source/core/input/EventHandler.h
@@ -84,7 +84,7 @@ class CORE_EXPORT EventHandler final
WTF_MAKE_NONCOPYABLE(EventHandler);
public:
- explicit EventHandler(LocalFrame*);
+ explicit EventHandler(LocalFrame&);
DECLARE_TRACE();
void clear();
@@ -344,12 +344,12 @@ class CORE_EXPORT EventHandler final
const Member<SelectionController> m_selectionController;
- Timer<EventHandler> m_hoverTimer;
+ TaskRunnerTimer<EventHandler> m_hoverTimer;
// TODO(rbyers): Mouse cursor update is page-wide, not per-frame. Page-wide
// state should move out of EventHandler to a new PageEventHandler class.
// crbug.com/449649
- Timer<EventHandler> m_cursorUpdateTimer;
+ TaskRunnerTimer<EventHandler> m_cursorUpdateTimer;
Member<Node> m_capturingMouseEventsNode;
bool m_eventHandlerWillResetCapturingMouseEventsNode;
@@ -374,7 +374,7 @@ class CORE_EXPORT EventHandler final
bool m_longTapShouldInvokeContextMenu;
- Timer<EventHandler> m_activeIntervalTimer;
+ TaskRunnerTimer<EventHandler> m_activeIntervalTimer;
double m_lastShowPressTimestamp;
Member<Element> m_lastDeferredTapElement;
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698