OLD | NEW |
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 WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "ppapi/thunk/resource_creation_api.h" | 10 #include "ppapi/thunk/resource_creation_api.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; | 29 virtual PP_Resource CreateAudioTrusted(PP_Instance instance) OVERRIDE; |
30 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 30 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
31 PP_AudioSampleRate sample_rate, | 31 PP_AudioSampleRate sample_rate, |
32 uint32_t sample_frame_count) OVERRIDE; | 32 uint32_t sample_frame_count) OVERRIDE; |
33 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; | 33 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; |
34 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 34 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
35 virtual PP_Resource CreateBuffer(PP_Instance instance, | 35 virtual PP_Resource CreateBuffer(PP_Instance instance, |
36 uint32_t size) OVERRIDE; | 36 uint32_t size) OVERRIDE; |
37 virtual PP_Resource CreateDirectoryReader(PP_Instance instance, | 37 virtual PP_Resource CreateDirectoryReader(PP_Instance instance, |
38 PP_Resource directory_ref) OVERRIDE; | 38 PP_Resource directory_ref) OVERRIDE; |
| 39 virtual PP_Resource CreateExtCrxFileSystemPrivate(PP_Instance instance) |
| 40 OVERRIDE; |
39 virtual PP_Resource CreateFileRef(PP_Instance instance, | 41 virtual PP_Resource CreateFileRef(PP_Instance instance, |
40 PP_Resource file_system, | 42 PP_Resource file_system, |
41 const char* path) OVERRIDE; | 43 const char* path) OVERRIDE; |
42 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; | 44 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
43 virtual PP_Resource CreateFlashFontFile( | 45 virtual PP_Resource CreateFlashFontFile( |
44 PP_Instance instance, | 46 PP_Instance instance, |
45 const PP_BrowserFont_Trusted_Description* description, | 47 const PP_BrowserFont_Trusted_Description* description, |
46 PP_PrivateFontCharset charset) OVERRIDE; | 48 PP_PrivateFontCharset charset) OVERRIDE; |
47 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 49 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
48 const PP_Flash_Menu* menu_data) OVERRIDE; | 50 const PP_Flash_Menu* menu_data) OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
64 PP_Bool init_to_zero) OVERRIDE; | 66 PP_Bool init_to_zero) OVERRIDE; |
65 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, | 67 virtual PP_Resource CreateIMEInputEvent(PP_Instance instance, |
66 PP_InputEvent_Type type, | 68 PP_InputEvent_Type type, |
67 PP_TimeTicks time_stamp, | 69 PP_TimeTicks time_stamp, |
68 struct PP_Var text, | 70 struct PP_Var text, |
69 uint32_t segment_number, | 71 uint32_t segment_number, |
70 const uint32_t* segment_offsets, | 72 const uint32_t* segment_offsets, |
71 int32_t target_segment, | 73 int32_t target_segment, |
72 uint32_t selection_start, | 74 uint32_t selection_start, |
73 uint32_t selection_end) OVERRIDE; | 75 uint32_t selection_end) OVERRIDE; |
| 76 virtual PP_Resource CreateIsolatedFileSystem(PP_Instance instance, |
| 77 const char* fsid) OVERRIDE; |
74 virtual PP_Resource CreateKeyboardInputEvent( | 78 virtual PP_Resource CreateKeyboardInputEvent( |
75 PP_Instance instance, | 79 PP_Instance instance, |
76 PP_InputEvent_Type type, | 80 PP_InputEvent_Type type, |
77 PP_TimeTicks time_stamp, | 81 PP_TimeTicks time_stamp, |
78 uint32_t modifiers, | 82 uint32_t modifiers, |
79 uint32_t key_code, | 83 uint32_t key_code, |
80 PP_Var character_text) OVERRIDE; | 84 PP_Var character_text) OVERRIDE; |
81 virtual PP_Resource CreateMouseInputEvent( | 85 virtual PP_Resource CreateMouseInputEvent( |
82 PP_Instance instance, | 86 PP_Instance instance, |
83 PP_InputEvent_Type type, | 87 PP_InputEvent_Type type, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 PP_Instance instance) OVERRIDE; | 127 PP_Instance instance) OVERRIDE; |
124 | 128 |
125 private: | 129 private: |
126 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 130 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
127 }; | 131 }; |
128 | 132 |
129 } // namespace ppapi | 133 } // namespace ppapi |
130 } // namespace webkit | 134 } // namespace webkit |
131 | 135 |
132 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 136 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |