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

Side by Side 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2005, 2006, 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 const IntPoint& movementDelta() const { return m_movementDelta; } 82 const IntPoint& movementDelta() const { return m_movementDelta; }
83 83
84 MouseButton button() const { return m_button; } 84 MouseButton button() const { return m_button; }
85 int clickCount() const { return m_clickCount; } 85 int clickCount() const { return m_clickCount; }
86 bool fromTouch() const { return m_synthesized == FromTouch; } 86 bool fromTouch() const { return m_synthesized == FromTouch; }
87 SyntheticEventType syntheticEventType() const { return m_synthesized; } 87 SyntheticEventType syntheticEventType() const { return m_synthesized; }
88 88
89 protected: 89 protected:
90 WebPointerProperties m_pointerProperties; 90 WebPointerProperties m_pointerProperties;
91 91
92 // In local root frame coordinates. (Except possibly if the Widget under
93 // the mouse is a popup, see FIXME in PlatformMouseEventBuilder).
92 IntPoint m_position; 94 IntPoint m_position;
95
96 // In screen coordinates.
93 IntPoint m_globalPosition; 97 IntPoint m_globalPosition;
98
94 IntPoint m_movementDelta; 99 IntPoint m_movementDelta;
95 MouseButton m_button; 100 MouseButton m_button;
96 int m_clickCount; 101 int m_clickCount;
97 SyntheticEventType m_synthesized; 102 SyntheticEventType m_synthesized;
98 }; 103 };
99 104
100 } // namespace blink 105 } // namespace blink
101 106
102 #endif // PlatformMouseEvent_h 107 #endif // PlatformMouseEvent_h
OLDNEW
« 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