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

Side by Side Diff: ppapi/thunk/resource_creation_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) 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_RESOURCE_CREATION_API_H_ 5 #ifndef PPAPI_THUNK_RESOURCE_CREATION_API_H_
6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_ 6 #define PPAPI_THUNK_RESOURCE_CREATION_API_H_
7 7
8 #include "ppapi/c/dev/ppb_audio_input_dev.h" 8 #include "ppapi/c/dev/ppb_audio_input_dev.h"
9 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 9 #include "ppapi/c/dev/ppb_file_chooser_dev.h"
10 #include "ppapi/c/dev/ppb_video_layer_dev.h" 10 #include "ppapi/c/dev/ppb_video_layer_dev.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual PP_Resource CreateImageData(PP_Instance instance, 87 virtual PP_Resource CreateImageData(PP_Instance instance,
88 PP_ImageDataFormat format, 88 PP_ImageDataFormat format,
89 const PP_Size& size, 89 const PP_Size& size,
90 PP_Bool init_to_zero) = 0; 90 PP_Bool init_to_zero) = 0;
91 virtual PP_Resource CreateKeyboardInputEvent( 91 virtual PP_Resource CreateKeyboardInputEvent(
92 PP_Instance instance, 92 PP_Instance instance,
93 PP_InputEvent_Type type, 93 PP_InputEvent_Type type,
94 PP_TimeTicks time_stamp, 94 PP_TimeTicks time_stamp,
95 uint32_t modifiers, 95 uint32_t modifiers,
96 uint32_t key_code, 96 uint32_t key_code,
97 uint32_t usb_scan_code,
97 struct PP_Var character_text) = 0; 98 struct PP_Var character_text) = 0;
98 virtual PP_Resource CreateMouseInputEvent( 99 virtual PP_Resource CreateMouseInputEvent(
99 PP_Instance instance, 100 PP_Instance instance,
100 PP_InputEvent_Type type, 101 PP_InputEvent_Type type,
101 PP_TimeTicks time_stamp, 102 PP_TimeTicks time_stamp,
102 uint32_t modifiers, 103 uint32_t modifiers,
103 PP_InputEvent_MouseButton mouse_button, 104 PP_InputEvent_MouseButton mouse_button,
104 const PP_Point* mouse_position, 105 const PP_Point* mouse_position,
105 int32_t click_count, 106 int32_t click_count,
106 const PP_Point* mouse_movement) = 0; 107 const PP_Point* mouse_movement) = 0;
(...skipping 27 matching lines...) Expand all
134 const PP_FloatPoint* wheel_ticks, 135 const PP_FloatPoint* wheel_ticks,
135 PP_Bool scroll_by_page) = 0; 136 PP_Bool scroll_by_page) = 0;
136 137
137 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 138 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
138 }; 139 };
139 140
140 } // namespace thunk 141 } // namespace thunk
141 } // namespace ppapi 142 } // namespace ppapi
142 143
143 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 144 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698