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

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

Issue 10391101: Test for Pepper IME events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments from kochi & merge master. Created 8 years, 7 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
« no previous file with comments | « ppapi/thunk/ppb_input_event_thunk.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 29 matching lines...) Expand all
40 // creation) so need functional routing based on the instance ID. 40 // creation) so need functional routing based on the instance ID.
41 class ResourceCreationAPI { 41 class ResourceCreationAPI {
42 public: 42 public:
43 virtual ~ResourceCreationAPI() {} 43 virtual ~ResourceCreationAPI() {}
44 44
45 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0; 45 virtual PP_Resource CreateFileIO(PP_Instance instance) = 0;
46 virtual PP_Resource CreateFileRef(PP_Resource file_system, 46 virtual PP_Resource CreateFileRef(PP_Resource file_system,
47 const char* path) = 0; 47 const char* path) = 0;
48 virtual PP_Resource CreateFileSystem(PP_Instance instance, 48 virtual PP_Resource CreateFileSystem(PP_Instance instance,
49 PP_FileSystemType type) = 0; 49 PP_FileSystemType type) = 0;
50 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance,
51 PP_InputEvent_Type type,
52 PP_TimeTicks time_stamp,
53 struct PP_Var text,
54 uint32_t segment_number,
55 const uint32_t* segment_offsets,
56 int32_t target_segment,
57 uint32_t selection_start,
58 uint32_t selection_end) = 0;
50 virtual PP_Resource CreateKeyboardInputEvent( 59 virtual PP_Resource CreateKeyboardInputEvent(
51 PP_Instance instance, 60 PP_Instance instance,
52 PP_InputEvent_Type type, 61 PP_InputEvent_Type type,
53 PP_TimeTicks time_stamp, 62 PP_TimeTicks time_stamp,
54 uint32_t modifiers, 63 uint32_t modifiers,
55 uint32_t key_code, 64 uint32_t key_code,
56 struct PP_Var character_text) = 0; 65 struct PP_Var character_text) = 0;
57 virtual PP_Resource CreateMouseInputEvent( 66 virtual PP_Resource CreateMouseInputEvent(
58 PP_Instance instance, 67 PP_Instance instance,
59 PP_InputEvent_Type type, 68 PP_InputEvent_Type type,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0; 153 virtual PP_Resource CreateX509CertificatePrivate(PP_Instance instance) = 0;
145 #endif // !defined(OS_NACL) 154 #endif // !defined(OS_NACL)
146 155
147 static const ApiID kApiID = API_ID_RESOURCE_CREATION; 156 static const ApiID kApiID = API_ID_RESOURCE_CREATION;
148 }; 157 };
149 158
150 } // namespace thunk 159 } // namespace thunk
151 } // namespace ppapi 160 } // namespace ppapi
152 161
153 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_ 162 #endif // PPAPI_THUNK_RESOURCE_CREATION_API_H_
OLDNEW
« no previous file with comments | « ppapi/thunk/ppb_input_event_thunk.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698