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

Side by Side Diff: third_party/WebKit/Source/core/input/PointerEventManager.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 PointerEventManager_h 5 #ifndef PointerEventManager_h
6 #define PointerEventManager_h 6 #define PointerEventManager_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "core/events/PointerEvent.h" 9 #include "core/events/PointerEvent.h"
10 #include "core/events/PointerEventFactory.h" 10 #include "core/events/PointerEventFactory.h"
(...skipping 21 matching lines...) Expand all
32 32
33 // Sends the mouse pointer events and the boundary events 33 // Sends the mouse pointer events and the boundary events
34 // that it may cause. It also sends the compat mouse events 34 // that it may cause. It also sends the compat mouse events
35 // and sets the newNodeUnderMouse if the capturing is set 35 // and sets the newNodeUnderMouse if the capturing is set
36 // in this function. 36 // in this function.
37 WebInputEventResult sendMousePointerEvent( 37 WebInputEventResult sendMousePointerEvent(
38 Node* target, 38 Node* target,
39 const String& canvasRegionId, 39 const String& canvasRegionId,
40 const AtomicString& type, 40 const AtomicString& type,
41 const WebMouseEvent&, 41 const WebMouseEvent&,
42 const Vector<WebMouseEvent>& coalescedEvents, 42 const Vector<WebMouseEvent>& coalescedEvents);
43 bool selectionOverLink);
44 43
45 WebInputEventResult handleTouchEvents( 44 WebInputEventResult handleTouchEvents(
46 const WebTouchEvent&, 45 const WebTouchEvent&,
47 const Vector<WebTouchEvent>& coalescedEvents); 46 const Vector<WebTouchEvent>& coalescedEvents);
48 47
49 // Sends boundary events pointerout/leave/over/enter and 48 // Sends boundary events pointerout/leave/over/enter and
50 // mouseout/leave/over/enter to the corresponding targets. 49 // mouseout/leave/over/enter to the corresponding targets.
51 // inside the document. This functions handles the cases that pointer is 50 // inside the document. This functions handles the cases that pointer is
52 // leaving a frame. Note that normal mouse events (e.g. mousemove/down/up) 51 // leaving a frame. Note that normal mouse events (e.g. mousemove/down/up)
53 // and their corresponding boundary events will be handled altogether by 52 // and their corresponding boundary events will be handled altogether by
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 Member<MouseEventManager> m_mouseEventManager; 225 Member<MouseEventManager> m_mouseEventManager;
227 226
228 // The pointerId of the PointerEvent currently being dispatched within this 227 // The pointerId of the PointerEvent currently being dispatched within this
229 // frame or 0 if none. 228 // frame or 0 if none.
230 int m_dispatchingPointerId; 229 int m_dispatchingPointerId;
231 }; 230 };
232 231
233 } // namespace blink 232 } // namespace blink
234 233
235 #endif // PointerEventManager_h 234 #endif // PointerEventManager_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698