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

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

Issue 9353013: Add GetUsbKeyCode dev interface for Pepper key events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add GetUsbScanCode_Dev to Pepper/NaCl interface 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ppb_input_event.h" 9 #include "ppapi/c/ppb_input_event.h"
10 #include "ppapi/thunk/ppapi_thunk_export.h" 10 #include "ppapi/thunk/ppapi_thunk_export.h"
(...skipping 16 matching lines...) Expand all
27 virtual PP_TimeTicks GetTimeStamp() = 0; 27 virtual PP_TimeTicks GetTimeStamp() = 0;
28 virtual uint32_t GetModifiers() = 0; 28 virtual uint32_t GetModifiers() = 0;
29 virtual PP_InputEvent_MouseButton GetMouseButton() = 0; 29 virtual PP_InputEvent_MouseButton GetMouseButton() = 0;
30 virtual PP_Point GetMousePosition() = 0; 30 virtual PP_Point GetMousePosition() = 0;
31 virtual int32_t GetMouseClickCount() = 0; 31 virtual int32_t GetMouseClickCount() = 0;
32 virtual PP_Point GetMouseMovement() = 0; 32 virtual PP_Point GetMouseMovement() = 0;
33 virtual PP_FloatPoint GetWheelDelta() = 0; 33 virtual PP_FloatPoint GetWheelDelta() = 0;
34 virtual PP_FloatPoint GetWheelTicks() = 0; 34 virtual PP_FloatPoint GetWheelTicks() = 0;
35 virtual PP_Bool GetWheelScrollByPage() = 0; 35 virtual PP_Bool GetWheelScrollByPage() = 0;
36 virtual uint32_t GetKeyCode() = 0; 36 virtual uint32_t GetKeyCode() = 0;
37 virtual uint32_t GetUsbScanCode_Dev() = 0;
37 virtual PP_Var GetCharacterText() = 0; 38 virtual PP_Var GetCharacterText() = 0;
38 virtual uint32_t GetIMESegmentNumber() = 0; 39 virtual uint32_t GetIMESegmentNumber() = 0;
39 virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0; 40 virtual uint32_t GetIMESegmentOffset(uint32_t index) = 0;
40 virtual int32_t GetIMETargetSegment() = 0; 41 virtual int32_t GetIMETargetSegment() = 0;
41 virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0; 42 virtual void GetIMESelection(uint32_t* start, uint32_t* end) = 0;
42 }; 43 };
43 44
44 } // namespace thunk 45 } // namespace thunk
45 } // namespace ppapi 46 } // namespace ppapi
46 47
47 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_ 48 #endif // PPAPI_THUNK_PPB_INPUT_EVENT_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698