summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp
diff options
context:
space:
mode:
authoryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 18:24:32 +0000
committeryzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-02 18:24:32 +0000
commit38cc7286bba6483a42e137b92c856ed3dd0c15dd (patch)
tree89b23bc7583265c6a7a7a56e611eb80d6fbf3959 /ppapi/cpp
parent709da312b097d8a20d9a52ca007c4fc2f106d92d (diff)
downloadchromium_src-38cc7286bba6483a42e137b92c856ed3dd0c15dd.zip
chromium_src-38cc7286bba6483a42e137b92c856ed3dd0c15dd.tar.gz
chromium_src-38cc7286bba6483a42e137b92c856ed3dd0c15dd.tar.bz2
Update comments of PPB_MouseInputEvent.GetMovement.
BUG=None TEST=None Review URL: http://codereview.chromium.org/8438025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108321 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
-rw-r--r--ppapi/cpp/input_event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ppapi/cpp/input_event.h b/ppapi/cpp/input_event.h
index da92742..81be497 100644
--- a/ppapi/cpp/input_event.h
+++ b/ppapi/cpp/input_event.h
@@ -160,9 +160,9 @@ class MouseInputEvent : public InputEvent {
/// @return The change in position of the mouse, relative to the previous
/// 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>).
+ /// TODO(yzshen): This feature hasn't been fully supported yet. For now,
+ /// movement information is provided only if the mouse is locked. If the mouse
+ /// is not locked, the returned value is (0, 0).
Point GetMovement() const;
};