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

Unified Diff: third_party/WebKit/Source/core/events/MouseEvent.h

Issue 2586133003: Remove PlatformWheelEvent and use WebMouseWheelEvent instead (Closed)
Patch Set: Address comments Created 3 years, 12 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/events/MouseEvent.h
diff --git a/third_party/WebKit/Source/core/events/MouseEvent.h b/third_party/WebKit/Source/core/events/MouseEvent.h
index d554587dba68ea3232293eecbda8b40f5d901209..a6fa57bb658798382185ce1fc505ef0c0f448149 100644
--- a/third_party/WebKit/Source/core/events/MouseEvent.h
+++ b/third_party/WebKit/Source/core/events/MouseEvent.h
@@ -199,6 +199,14 @@ class CORE_EXPORT MouseEvent : public UIEventWithKeyState {
bool canBubble,
bool cancelable,
AbstractView*,
+ PlatformMouseEvent::SyntheticEventType,
+ const String& region,
+ const WebMouseEvent&);
+
+ MouseEvent(const AtomicString& type,
+ bool canBubble,
+ bool cancelable,
+ AbstractView*,
int detail,
int screenX,
int screenY,
@@ -239,6 +247,7 @@ class CORE_EXPORT MouseEvent : public UIEventWithKeyState {
unsigned short buttons = 0);
void initCoordinates(const double clientX, const double clientY);
+ void initCoordinatesFromRootFrame(int windowX, int windowY);
void receivedTarget() final;
void computePageLocation();

Powered by Google App Engine
This is Rietveld 408576698