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

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

Issue 2771463002: Revert "Send click event after pointer capturing retarget" (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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 const String& canvasRegionId, 49 const String& canvasRegionId,
50 EventTarget* relatedTarget, 50 EventTarget* relatedTarget,
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(
60 const WebMouseEvent&, 60 const MouseEventWithHitTestResults&);
61 const String& canvasRegionId);
62 61
63 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType, 62 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType,
64 const WebMouseEvent&); 63 const WebMouseEvent&);
65 WebInputEventResult dispatchDragEvent(const AtomicString& eventType, 64 WebInputEventResult dispatchDragEvent(const AtomicString& eventType,
66 Node* target, 65 Node* target,
67 const WebMouseEvent&, 66 const WebMouseEvent&,
68 DataTransfer*); 67 DataTransfer*);
69 68
70 // Resets the internal state of this object. 69 // Resets the internal state of this object.
71 void clear(); 70 void clear();
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 WebMouseEvent m_mouseDown; 231 WebMouseEvent m_mouseDown;
233 232
234 LayoutPoint m_dragStartPos; 233 LayoutPoint m_dragStartPos;
235 234
236 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer; 235 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer;
237 }; 236 };
238 237
239 } // namespace blink 238 } // namespace blink
240 239
241 #endif // MouseEventManager_h 240 #endif // MouseEventManager_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/input/EventHandler.cpp ('k') | third_party/WebKit/Source/core/input/MouseEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698