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

Unified Diff: third_party/WebKit/public/platform/WebInputEvent.h

Issue 2590273002: Move WebMouseEvent into its own header file. (Closed)
Patch Set: Fix android build 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/public/platform/WebInputEvent.h
diff --git a/third_party/WebKit/public/platform/WebInputEvent.h b/third_party/WebKit/public/platform/WebInputEvent.h
index 82b34ff314f3694897cd508bcb25fce5e813ae61..50e8805166fa39e5b7b6baf49bb5e9d354ff1f9d 100644
--- a/third_party/WebKit/public/platform/WebInputEvent.h
+++ b/third_party/WebKit/public/platform/WebInputEvent.h
@@ -400,53 +400,6 @@ class WebKeyboardEvent : public WebInputEvent {
}
};
-// WebMouseEvent --------------------------------------------------------------
-
-class WebMouseEvent : public WebInputEvent, public WebPointerProperties {
- public:
- // Renderer coordinates. Similar to viewport coordinates but without
- // DevTools emulation transform or overscroll applied. i.e. the coordinates
- // in Chromium's RenderView bounds.
- int x;
- int y;
-
- // DEPRECATED (crbug.com/507787)
- int windowX;
- int windowY;
-
- // Screen coordinate
- int globalX;
- int globalY;
-
- int movementX;
- int movementY;
- int clickCount;
-
- WebMouseEvent(Type type, int modifiers, double timeStampSeconds)
- : WebInputEvent(sizeof(WebMouseEvent), type, modifiers, timeStampSeconds),
- 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() {}
-
- WebMouseEvent(unsigned sizeParam,
- Type type,
- int modifiers,
- double timeStampSeconds)
- : WebInputEvent(sizeParam, type, modifiers, timeStampSeconds),
- WebPointerProperties() {}
- void flattenTransformSelf();
-};
-
// WebTouchEvent --------------------------------------------------------------
// TODO(e_hakkinen): Replace with WebPointerEvent. crbug.com/508283
« no previous file with comments | « third_party/WebKit/Source/web/tests/FrameTestHelpers.h ('k') | third_party/WebKit/public/platform/WebMouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698