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

Unified Diff: ppapi/cpp/input_event.h

Issue 7834007: Add comment to PPB_MouseInputEvent version 1.1 that GetMovement hasn't been supported. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment that the delta is always (0,0) for now. Created 9 years, 3 months 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
« no previous file with comments | « ppapi/c/ppb_input_event.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/input_event.h
diff --git a/ppapi/cpp/input_event.h b/ppapi/cpp/input_event.h
index d64e826882839dc606307d5cb571642a42931a56..da92742c3b026bcfe934a2fcdb572520c40c536a 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;
};
« no previous file with comments | « ppapi/c/ppb_input_event.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698