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

Unified Diff: third_party/WebKit/Source/core/input/PointerEventManager.h

Issue 2650403006: Remove PlatformMouseEvent and use WebMouseEvent instead (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/input/PointerEventManager.h
diff --git a/third_party/WebKit/Source/core/input/PointerEventManager.h b/third_party/WebKit/Source/core/input/PointerEventManager.h
index 8504f5c47b478e9b0580b4300d3b382f1902f9f4..0ba65f669b0e89d02fe24b546c507043c9c33d26 100644
--- a/third_party/WebKit/Source/core/input/PointerEventManager.h
+++ b/third_party/WebKit/Source/core/input/PointerEventManager.h
@@ -36,9 +36,10 @@ class CORE_EXPORT PointerEventManager
// in this function.
WebInputEventResult sendMousePointerEvent(
Node* target,
+ const String& canvasRegionId,
const AtomicString& type,
- const PlatformMouseEvent&,
- const Vector<PlatformMouseEvent>& coalescedEvents);
+ const WebMouseEvent&,
+ const Vector<WebMouseEvent>& coalescedEvents);
WebInputEventResult handleTouchEvents(
const WebTouchEvent&,
@@ -51,7 +52,8 @@ class CORE_EXPORT PointerEventManager
// and their corresponding boundary events will be handled altogether by
// sendMousePointerEvent function.
void sendMouseAndPointerBoundaryEvents(Node* enteredNode,
- const PlatformMouseEvent&);
+ const String& canvasRegionId,
+ const WebMouseEvent&);
// Resets the internal state of this object.
void clear();
@@ -168,7 +170,8 @@ class CORE_EXPORT PointerEventManager
EventTarget* processCaptureAndPositionOfPointerEvent(
PointerEvent*,
EventTarget* hitTestTarget,
- const PlatformMouseEvent& = PlatformMouseEvent(),
+ const String& canvasRegionId = String(),
+ const WebMouseEvent& = WebMouseEvent(),
bool sendMouseEvent = false);
void removeTargetFromPointerCapturingMapping(PointerCapturingMap&,

Powered by Google App Engine
This is Rietveld 408576698