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

Unified Diff: third_party/WebKit/public/platform/WebInputEvent.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/public/platform/WebInputEvent.h
diff --git a/third_party/WebKit/public/platform/WebInputEvent.h b/third_party/WebKit/public/platform/WebInputEvent.h
index c3341c692fe83433c080dd92b413ac64fe8ea235..82b34ff314f3694897cd508bcb25fce5e813ae61 100644
--- a/third_party/WebKit/public/platform/WebInputEvent.h
+++ b/third_party/WebKit/public/platform/WebInputEvent.h
@@ -429,6 +429,11 @@ class WebMouseEvent : public WebInputEvent, public WebPointerProperties {
WebMouseEvent()
: WebInputEvent(sizeof(WebMouseEvent)), WebPointerProperties() {}
+#if INSIDE_BLINK
+ BLINK_PLATFORM_EXPORT WebFloatPoint movementInRootFrame() const;
+ BLINK_PLATFORM_EXPORT WebFloatPoint positionInRootFrame() const;
+#endif
+
protected:
explicit WebMouseEvent(unsigned sizeParam)
: WebInputEvent(sizeParam), WebPointerProperties() {}
@@ -439,6 +444,7 @@ class WebMouseEvent : public WebInputEvent, public WebPointerProperties {
double timeStampSeconds)
: WebInputEvent(sizeParam, type, modifiers, timeStampSeconds),
WebPointerProperties() {}
+ void flattenTransformSelf();
};
// WebTouchEvent --------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698