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

Side by Side Diff: ppapi/cpp/input_event.h

Issue 9288006: Minor changes as per Christians most-recent review of the docs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PPAPI_CPP_INPUT_EVENT_H_ 5 #ifndef PPAPI_CPP_INPUT_EVENT_H_
6 #define PPAPI_CPP_INPUT_EVENT_H_ 6 #define PPAPI_CPP_INPUT_EVENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/ppb_input_event.h" 10 #include "ppapi/c/ppb_input_event.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 /// <code>PP_InputEvent_Modifier</code> flags. 114 /// <code>PP_InputEvent_Modifier</code> flags.
115 /// 115 ///
116 /// @param[in] mouse_button The button that changed for mouse down or up 116 /// @param[in] mouse_button The button that changed for mouse down or up
117 /// events. This value will be <code>PP_EVENT_MOUSEBUTTON_NONE</code> for 117 /// events. This value will be <code>PP_EVENT_MOUSEBUTTON_NONE</code> for
118 /// mouse move, enter, and leave events. 118 /// mouse move, enter, and leave events.
119 /// 119 ///
120 /// @param[in] mouse_position A <code>Point</code> containing the x and y 120 /// @param[in] mouse_position A <code>Point</code> containing the x and y
121 /// position of the mouse when the eent occurred. 121 /// position of the mouse when the eent occurred.
122 /// 122 ///
123 /// @param[in] click_count 123 /// @param[in] click_count
124 /// TODO(brettw) figure out exactly what this means. 124 // TODO(brettw) figure out exactly what this means.
125 /// 125 ///
126 /// @param[in] mouse_movement The change in position of the mouse. 126 /// @param[in] mouse_movement The change in position of the mouse.
127 MouseInputEvent(Instance* instance, 127 MouseInputEvent(Instance* instance,
128 PP_InputEvent_Type type, 128 PP_InputEvent_Type type,
129 PP_TimeTicks time_stamp, 129 PP_TimeTicks time_stamp,
130 uint32_t modifiers, 130 uint32_t modifiers,
131 PP_InputEvent_MouseButton mouse_button, 131 PP_InputEvent_MouseButton mouse_button,
132 const Point& mouse_position, 132 const Point& mouse_position,
133 int32_t click_count, 133 int32_t click_count,
134 const Point& mouse_movement); 134 const Point& mouse_movement);
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 /// 294 ///
295 /// @return A string var representing a single typed character for character 295 /// @return A string var representing a single typed character for character
296 /// input events. For non-character input events the return value will be an 296 /// input events. For non-character input events the return value will be an
297 /// undefined var. 297 /// undefined var.
298 Var GetCharacterText() const; 298 Var GetCharacterText() const;
299 }; 299 };
300 300
301 } // namespace pp 301 } // namespace pp
302 302
303 #endif // PPAPI_CPP_INPUT_EVENT_H_ 303 #endif // PPAPI_CPP_INPUT_EVENT_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/audio.h ('k') | ppapi/cpp/instance.h » ('j') | ppapi/cpp/var.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698