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

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

Issue 2255323004: Create MouseEventManager and EventHandlingUtil (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make all *Manager classes GarbageCollected Created 4 years, 3 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: third_party/WebKit/Source/core/input/GestureManager.h
diff --git a/third_party/WebKit/Source/core/input/GestureManager.h b/third_party/WebKit/Source/core/input/GestureManager.h
index 282c63d4397c1e1017af85547c1fd698842bef0e..c4011de99e9205d78eb2895a94c1c9b483274bb7 100644
--- a/third_party/WebKit/Source/core/input/GestureManager.h
+++ b/third_party/WebKit/Source/core/input/GestureManager.h
@@ -20,9 +20,8 @@ class PointerEventManager;
// This class takes care of gestures and delegating the action based on the
// gesture to the responsible class.
-class CORE_EXPORT GestureManager {
+class CORE_EXPORT GestureManager final : public GarbageCollectedFinalized<GestureManager> {
haraken 2016/09/01 23:31:15 Maybe you can drop 'Finalized' and remove the dest
Navid Zolghadr 2016/09/02 16:36:45 Done.
WTF_MAKE_NONCOPYABLE(GestureManager);
- DISALLOW_NEW();
public:
GestureManager(LocalFrame*, ScrollManager*, PointerEventManager*,
@@ -57,8 +56,8 @@ private:
const Member<LocalFrame> m_frame;
- ScrollManager* m_scrollManager;
- PointerEventManager* m_pointerEventManager;
+ Member<ScrollManager> m_scrollManager;
+ Member<PointerEventManager> m_pointerEventManager;
// Set on GestureTapDown if the |pointerdown| event corresponding to the
// triggering |touchstart| event was canceled. This suppresses mouse event

Powered by Google App Engine
This is Rietveld 408576698