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

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

Issue 2681443003: Send click event after pointer capturing retarget (Closed)
Patch Set: Rename the function and the parameter names 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( 59 WebInputEventResult dispatchMouseClickIfNeeded(Node* target,
60 const MouseEventWithHitTestResults&); 60 const WebMouseEvent&,
61 const String& canvasRegionId);
61 62
62 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType, 63 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType,
63 const WebMouseEvent&); 64 const WebMouseEvent&);
64 WebInputEventResult dispatchDragEvent(const AtomicString& eventType, 65 WebInputEventResult dispatchDragEvent(const AtomicString& eventType,
65 Node* target, 66 Node* target,
66 const WebMouseEvent&, 67 const WebMouseEvent&,
67 DataTransfer*); 68 DataTransfer*);
68 69
69 // Resets the internal state of this object. 70 // Resets the internal state of this object.
70 void clear(); 71 void clear();
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 WebMouseEvent m_mouseDown; 232 WebMouseEvent m_mouseDown;
232 233
233 LayoutPoint m_dragStartPos; 234 LayoutPoint m_dragStartPos;
234 235
235 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer; 236 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer;
236 }; 237 };
237 238
238 } // namespace blink 239 } // namespace blink
239 240
240 #endif // MouseEventManager_h 241 #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