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

Side by Side Diff: ppapi/thunk/ppb_input_event_api.h

Issue 10543159: ppapi: Add support for touch events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: idl-goodness Created 8 years, 6 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_THUNK_PPB_INPUT_EVENT_API_H_ 5 #ifndef PPAPI_THUNK_PPB_INPUT_EVENT_API_H_
6 #define PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ 6 #define PPAPI_THUNK_PPB_INPUT_EVENT_API_H_
7 7
8 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" 8 #include "ppapi/c/dev/ppb_ime_input_event_dev.h"
9 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" 9 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h"
10 #include "ppapi/c/ppb_input_event.h" 10 #include "ppapi/c/ppb_input_event.h"
(...skipping 24 matching lines...) Expand all
35 virtual PP_FloatPoint GetWheelTicks() = 0; 35 virtual PP_FloatPoint GetWheelTicks() = 0;
36 virtual PP_Bool GetWheelScrollByPage() = 0; 36 virtual PP_Bool GetWheelScrollByPage() = 0;
37 virtual uint32_t GetKeyCode() = 0; 37 virtual uint32_t GetKeyCode() = 0;
38 virtual PP_Var GetCharacterText() = 0; 38 virtual PP_Var GetCharacterText() = 0;
39 virtual PP_Bool SetUsbKeyCode(uint32_t) = 0; 39 virtual PP_Bool SetUsbKeyCode(uint32_t) = 0;
40 virtual uint32_t GetUsbKeyCode() = 0; 40 virtual uint32_t GetUsbKeyCode() = 0;
41 virtual uint32_t GetIMESegmentNumber() = 0; 41 virtual uint32_t GetIMESegmentNumber() = 0;
42 virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0; 42 virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0;
43 virtual int32_t GetIMETargetSegment() = 0; 43 virtual int32_t GetIMETargetSegment() = 0;
44 virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0; 44 virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0;
45 virtual void AddTouchPoint(PP_TouchListType list,
46 const PP_TouchPoint& point) = 0;
47 virtual uint32_t GetTouchCount(PP_TouchListType list) = 0;
48 virtual PP_TouchPoint GetTouchByIndex(PP_TouchListType list,
49 uint32_t index) = 0;
50 virtual PP_TouchPoint GetTouchById(PP_TouchListType list,
51 uint32_t id) = 0;
45 }; 52 };
46 53
47 } // namespace thunk 54 } // namespace thunk
48 } // namespace ppapi 55 } // namespace ppapi
49 56
50 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ 57 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698