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 23 matching lines...) Expand all Loading... |
34 virtual PP_Resource CreateAudioConfig(PP_Instance instance, | 34 virtual PP_Resource CreateAudioConfig(PP_Instance instance, |
35 PP_AudioSampleRate sample_rate, | 35 PP_AudioSampleRate sample_rate, |
36 uint32_t sample_frame_count) OVERRIDE; | 36 uint32_t sample_frame_count) OVERRIDE; |
37 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; | 37 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; |
38 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 38 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
39 virtual PP_Resource CreateBuffer(PP_Instance instance, | 39 virtual PP_Resource CreateBuffer(PP_Instance instance, |
40 uint32_t size) OVERRIDE; | 40 uint32_t size) OVERRIDE; |
41 virtual PP_Resource CreateFileRef(PP_Instance instance, | 41 virtual PP_Resource CreateFileRef(PP_Instance instance, |
42 PP_Resource file_system, | 42 PP_Resource file_system, |
43 const char* path) OVERRIDE; | 43 const char* path) OVERRIDE; |
| 44 virtual PP_Resource CreateFileRef( |
| 45 const ::ppapi::PPB_FileRef_CreateInfo& serialized) OVERRIDE; |
44 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; | 46 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
45 virtual PP_Resource CreateFlashFontFile( | 47 virtual PP_Resource CreateFlashFontFile( |
46 PP_Instance instance, | 48 PP_Instance instance, |
47 const PP_BrowserFont_Trusted_Description* description, | 49 const PP_BrowserFont_Trusted_Description* description, |
48 PP_PrivateFontCharset charset) OVERRIDE; | 50 PP_PrivateFontCharset charset) OVERRIDE; |
49 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 51 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
50 const PP_Flash_Menu* menu_data) OVERRIDE; | 52 const PP_Flash_Menu* menu_data) OVERRIDE; |
51 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 53 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
52 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 54 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
53 PP_Resource share_context, | 55 PP_Resource share_context, |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 virtual PP_Resource CreateResourceArray(PP_Instance instance, | 105 virtual PP_Resource CreateResourceArray(PP_Instance instance, |
104 const PP_Resource elements[], | 106 const PP_Resource elements[], |
105 uint32_t size) OVERRIDE; | 107 uint32_t size) OVERRIDE; |
106 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 108 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
107 PP_Bool vertical) OVERRIDE; | 109 PP_Bool vertical) OVERRIDE; |
108 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 110 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
109 virtual PP_Resource CreateTCPServerSocketPrivate( | 111 virtual PP_Resource CreateTCPServerSocketPrivate( |
110 PP_Instance instance) OVERRIDE; | 112 PP_Instance instance) OVERRIDE; |
111 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 113 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
112 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 114 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
113 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | |
114 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 115 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
115 virtual PP_Resource CreateVideoDecoder( | 116 virtual PP_Resource CreateVideoDecoder( |
116 PP_Instance instance, | 117 PP_Instance instance, |
117 PP_Resource graphics3d_id, | 118 PP_Resource graphics3d_id, |
118 PP_VideoDecoder_Profile profile) OVERRIDE; | 119 PP_VideoDecoder_Profile profile) OVERRIDE; |
119 virtual PP_Resource CreateVideoDestination( | 120 virtual PP_Resource CreateVideoDestination( |
120 PP_Instance instance) OVERRIDE; | 121 PP_Instance instance) OVERRIDE; |
121 virtual PP_Resource CreateVideoSource( | 122 virtual PP_Resource CreateVideoSource( |
122 PP_Instance instance) OVERRIDE; | 123 PP_Instance instance) OVERRIDE; |
123 virtual PP_Resource CreateWheelInputEvent( | 124 virtual PP_Resource CreateWheelInputEvent( |
124 PP_Instance instance, | 125 PP_Instance instance, |
125 PP_TimeTicks time_stamp, | 126 PP_TimeTicks time_stamp, |
126 uint32_t modifiers, | 127 uint32_t modifiers, |
127 const PP_FloatPoint* wheel_delta, | 128 const PP_FloatPoint* wheel_delta, |
128 const PP_FloatPoint* wheel_ticks, | 129 const PP_FloatPoint* wheel_ticks, |
129 PP_Bool scroll_by_page) OVERRIDE; | 130 PP_Bool scroll_by_page) OVERRIDE; |
130 virtual PP_Resource CreateX509CertificatePrivate( | 131 virtual PP_Resource CreateX509CertificatePrivate( |
131 PP_Instance instance) OVERRIDE; | 132 PP_Instance instance) OVERRIDE; |
132 | 133 |
133 private: | 134 private: |
134 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 135 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
135 }; | 136 }; |
136 | 137 |
137 } // namespace ppapi | 138 } // namespace ppapi |
138 } // namespace webkit | 139 } // namespace webkit |
139 | 140 |
140 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 141 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |