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

Unified Diff: third_party/WebKit/Source/platform/PlatformMouseEvent.h

Issue 1486743002: Clean up some remaining obsolete coordinate-space naming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Mac compile Created 5 years 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/platform/PlatformMouseEvent.h
diff --git a/third_party/WebKit/Source/platform/PlatformMouseEvent.h b/third_party/WebKit/Source/platform/PlatformMouseEvent.h
index dc7a5416cab8541b423fbc1c82d9d0b6140c525e..c1b2278cae82499ed3ab522b3d5e9c4ab5b185eb 100644
--- a/third_party/WebKit/Source/platform/PlatformMouseEvent.h
+++ b/third_party/WebKit/Source/platform/PlatformMouseEvent.h
@@ -89,8 +89,13 @@ public:
protected:
WebPointerProperties m_pointerProperties;
+ // In local root frame coordinates. (Except possibly if the Widget under
+ // the mouse is a popup, see FIXME in PlatformMouseEventBuilder).
IntPoint m_position;
+
+ // In screen coordinates.
IntPoint m_globalPosition;
+
IntPoint m_movementDelta;
MouseButton m_button;
int m_clickCount;
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp ('k') | third_party/WebKit/Source/platform/Widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698