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);
326 PP_InputEvent_Type type,
327 PP_TimeTicks time_stamp,
331 void AddTouchPoint(PP_TouchListType list, PP_TouchPoint point);
379 PP_InputEvent_Type type,
380 PP_TimeTicks time_stamp,
382 const std::vector<uint32_t>& segment_offsets,
384 const std::pair<uint32_t, uint32_t>& selection);
428 void GetSelection(uint32_t* start, uint32_t* end)
const;
432 #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.