diff options
author | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-06 20:00:35 +0000 |
---|---|---|
committer | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-06 20:00:35 +0000 |
commit | b054193d71840378f471d8ba4819ef7487eac0b9 (patch) | |
tree | f3dbd6fda8bd37215574cdb276bf7b826d0a1205 /ppapi | |
parent | ad527a2f48d7605bf7e30b23527c42a67dd3d668 (diff) | |
download | chromium_src-b054193d71840378f471d8ba4819ef7487eac0b9.zip chromium_src-b054193d71840378f471d8ba4819ef7487eac0b9.tar.gz chromium_src-b054193d71840378f471d8ba4819ef7487eac0b9.tar.bz2 |
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
Diffstat (limited to 'ppapi')
-rw-r--r-- | ppapi/c/ppb_input_event.h | 4 | ||||
-rw-r--r-- | ppapi/cpp/input_event.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ppapi/c/ppb_input_event.h b/ppapi/c/ppb_input_event.h index 957694c..8a73279 100644 --- a/ppapi/c/ppb_input_event.h +++ b/ppapi/c/ppb_input_event.h @@ -475,6 +475,10 @@ struct PPB_MouseInputEvent { * * @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>). */ struct PP_Point (*GetMovement)(PP_Resource mouse_event); }; diff --git a/ppapi/cpp/input_event.h b/ppapi/cpp/input_event.h index d64e826..da92742 100644 --- a/ppapi/cpp/input_event.h +++ b/ppapi/cpp/input_event.h @@ -159,6 +159,10 @@ 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>). Point GetMovement() const; }; |