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

Side by Side Diff: third_party/WebKit/Source/core/input/MouseEventManager.h

Issue 2747763002: Add use count for click retargeting due to capture (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MouseEventManager_h 5 #ifndef MouseEventManager_h
6 #define MouseEventManager_h 6 #define MouseEventManager_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/dom/SynchronousMutationObserver.h" 9 #include "core/dom/SynchronousMutationObserver.h"
10 #include "core/input/BoundaryEventDispatcher.h" 10 #include "core/input/BoundaryEventDispatcher.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 bool checkForListener = false); 51 bool checkForListener = false);
52 52
53 WebInputEventResult setMousePositionAndDispatchMouseEvent( 53 WebInputEventResult setMousePositionAndDispatchMouseEvent(
54 Node* targetNode, 54 Node* targetNode,
55 const String& canvasRegionId, 55 const String& canvasRegionId,
56 const AtomicString& eventType, 56 const AtomicString& eventType,
57 const WebMouseEvent&); 57 const WebMouseEvent&);
58 58
59 WebInputEventResult dispatchMouseClickIfNeeded(Node* target, 59 WebInputEventResult dispatchMouseClickIfNeeded(Node* target,
60 const WebMouseEvent&, 60 const WebMouseEvent&,
61 const String& canvasRegionId); 61 const String& canvasRegionId,
62 Node* targetWithoutCapture);
62 63
63 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType, 64 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType,
64 const WebMouseEvent&); 65 const WebMouseEvent&);
65 WebInputEventResult dispatchDragEvent(const AtomicString& eventType, 66 WebInputEventResult dispatchDragEvent(const AtomicString& eventType,
66 Node* target, 67 Node* target,
67 const WebMouseEvent&, 68 const WebMouseEvent&,
68 DataTransfer*); 69 DataTransfer*);
69 70
70 // Resets the internal state of this object. 71 // Resets the internal state of this object.
71 void clear(); 72 void clear();
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 WebMouseEvent m_mouseDown; 233 WebMouseEvent m_mouseDown;
233 234
234 LayoutPoint m_dragStartPos; 235 LayoutPoint m_dragStartPos;
235 236
236 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer; 237 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer;
237 }; 238 };
238 239
239 } // namespace blink 240 } // namespace blink
240 241
241 #endif // MouseEventManager_h 242 #endif // MouseEventManager_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/input/MouseEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698