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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 virtual PP_Resource CreateResourceArray(PP_Instance instance, | 103 virtual PP_Resource CreateResourceArray(PP_Instance instance, |
102 const PP_Resource elements[], | 104 const PP_Resource elements[], |
103 uint32_t size) OVERRIDE; | 105 uint32_t size) OVERRIDE; |
104 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 106 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
105 PP_Bool vertical) OVERRIDE; | 107 PP_Bool vertical) OVERRIDE; |
106 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 108 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
107 virtual PP_Resource CreateTCPServerSocketPrivate( | 109 virtual PP_Resource CreateTCPServerSocketPrivate( |
108 PP_Instance instance) OVERRIDE; | 110 PP_Instance instance) OVERRIDE; |
109 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 111 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
110 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 112 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
111 virtual PP_Resource CreateURLLoader(PP_Instance instance) OVERRIDE; | |
112 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 113 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
113 virtual PP_Resource CreateVideoDecoder( | 114 virtual PP_Resource CreateVideoDecoder( |
114 PP_Instance instance, | 115 PP_Instance instance, |
115 PP_Resource graphics3d_id, | 116 PP_Resource graphics3d_id, |
116 PP_VideoDecoder_Profile profile) OVERRIDE; | 117 PP_VideoDecoder_Profile profile) OVERRIDE; |
117 virtual PP_Resource CreateVideoDestination( | 118 virtual PP_Resource CreateVideoDestination( |
118 PP_Instance instance) OVERRIDE; | 119 PP_Instance instance) OVERRIDE; |
119 virtual PP_Resource CreateVideoSource( | 120 virtual PP_Resource CreateVideoSource( |
120 PP_Instance instance) OVERRIDE; | 121 PP_Instance instance) OVERRIDE; |
121 virtual PP_Resource CreateWheelInputEvent( | 122 virtual PP_Resource CreateWheelInputEvent( |
122 PP_Instance instance, | 123 PP_Instance instance, |
123 PP_TimeTicks time_stamp, | 124 PP_TimeTicks time_stamp, |
124 uint32_t modifiers, | 125 uint32_t modifiers, |
125 const PP_FloatPoint* wheel_delta, | 126 const PP_FloatPoint* wheel_delta, |
126 const PP_FloatPoint* wheel_ticks, | 127 const PP_FloatPoint* wheel_ticks, |
127 PP_Bool scroll_by_page) OVERRIDE; | 128 PP_Bool scroll_by_page) OVERRIDE; |
128 virtual PP_Resource CreateX509CertificatePrivate( | 129 virtual PP_Resource CreateX509CertificatePrivate( |
129 PP_Instance instance) OVERRIDE; | 130 PP_Instance instance) OVERRIDE; |
130 | 131 |
131 private: | 132 private: |
132 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); | 133 DISALLOW_COPY_AND_ASSIGN(ResourceCreationImpl); |
133 }; | 134 }; |
134 | 135 |
135 } // namespace ppapi | 136 } // namespace ppapi |
136 } // namespace webkit | 137 } // namespace webkit |
137 | 138 |
138 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ | 139 #endif // WEBKIT_PLUGINS_PPAPI_RESOURCE_CREATION_IMPL_H_ |
OLD | NEW |