Commit b054193d authored by yzshen@chromium.org's avatar yzshen@chromium.org

Add comment to PPB_MouseInputEvent version 1.1 that GetMovement hasn't been supported.

BUG=None
TEST=None

Review URL: http://codereview.chromium.org/7834007

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99792 0039d316-1c4b-4281-b951-d872f2087c98
parent ad527a2f
...@@ -475,6 +475,10 @@ struct PPB_MouseInputEvent { ...@@ -475,6 +475,10 @@ struct PPB_MouseInputEvent {
* *
* @return The change in position of the mouse, relative to the previous * @return The change in position of the mouse, relative to the previous
* position. * position.
*
* TODO(yzshen): This feature hasn't been supported yet. The returned value is
* always (0, 0) for system-generated mouse events (which are passed through
* the <code>HandleInputEvent</code>).
*/ */
struct PP_Point (*GetMovement)(PP_Resource mouse_event); struct PP_Point (*GetMovement)(PP_Resource mouse_event);
}; };
......
...@@ -159,6 +159,10 @@ class MouseInputEvent : public InputEvent { ...@@ -159,6 +159,10 @@ class MouseInputEvent : public InputEvent {
/// ///
/// @return The change in position of the mouse, relative to the previous /// @return The change in position of the mouse, relative to the previous
/// position. /// position.
///
/// TODO(yzshen): This feature hasn't been supported yet. The returned value
/// is always (0, 0) for system-generated mouse events (which are passed
/// through the <code>HandleInputEvent</code>).
Point GetMovement() const; Point GetMovement() const;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment