5 #ifndef PPAPI_CPP_INPUT_EVENT_H_
6 #define PPAPI_CPP_INPUT_EVENT_H_
11 #include "ppapi/c/ppb_input_event.h"
12 #include "ppapi/cpp/resource.h"
13 #include "ppapi/cpp/touch_point.h"
65 PP_InputEvent_Type
GetType()
const;
130 PP_InputEvent_Type type,
131 PP_TimeTicks time_stamp,
133 PP_InputEvent_MouseButton mouse_button,
134 const Point& mouse_position,
136 const Point& mouse_movement);
143 PP_InputEvent_MouseButton
GetButton()
const;
199 PP_TimeTicks time_stamp,
203 bool scroll_by_page);
285 PP_InputEvent_Type type,
286 PP_TimeTicks time_stamp,
289 const Var& character_text);
315 PP_InputEvent_Type type,
316 PP_TimeTicks time_stamp,
319 const Var& character_text,
363 PP_InputEvent_Type type,
364 PP_TimeTicks time_stamp,
368 void AddTouchPoint(PP_TouchListType list, PP_TouchPoint point);
416 PP_InputEvent_Type type,
417 PP_TimeTicks time_stamp,
419 const std::vector<uint32_t>& segment_offsets,
420 int32_t target_segment,
421 const std::pair<uint32_t, uint32_t>& selection);
465 void GetSelection(uint32_t* start, uint32_t* end)
const;
469 #endif // PPAPI_CPP_INPUT_EVENT_H_
A 2 dimensional point with 0,0 being the upper-left starting coordinate.
Wrapper class for PP_TouchPoint.
A generic type used for passing data types between the module and the page.
A reference counted module resource.