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