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

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

Issue 2769433002: Revert of 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/MouseEventManager.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
63 62
64 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType, 63 WebInputEventResult dispatchDragSrcEvent(const AtomicString& eventType,
65 const WebMouseEvent&); 64 const WebMouseEvent&);
66 WebInputEventResult dispatchDragEvent(const AtomicString& eventType, 65 WebInputEventResult dispatchDragEvent(const AtomicString& eventType,
67 Node* target, 66 Node* target,
68 const WebMouseEvent&, 67 const WebMouseEvent&,
69 DataTransfer*); 68 DataTransfer*);
70 69
71 // Resets the internal state of this object. 70 // Resets the internal state of this object.
72 void clear(); 71 void clear();
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 WebMouseEvent m_mouseDown; 232 WebMouseEvent m_mouseDown;
234 233
235 LayoutPoint m_dragStartPos; 234 LayoutPoint m_dragStartPos;
236 235
237 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer; 236 TaskRunnerTimer<MouseEventManager> m_fakeMouseMoveEventTimer;
238 }; 237 };
239 238
240 } // namespace blink 239 } // namespace blink
241 240
242 #endif // MouseEventManager_h 241 #endif // MouseEventManager_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/MouseEventManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698