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 PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 5 #ifndef PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 6 #define PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 PP_Bool init_to_zero) OVERRIDE; | 131 PP_Bool init_to_zero) OVERRIDE; |
132 virtual PP_Resource CreateNetworkMonitor( | 132 virtual PP_Resource CreateNetworkMonitor( |
133 PP_Instance instance, | 133 PP_Instance instance, |
134 PPB_NetworkMonitor_Callback callback, | 134 PPB_NetworkMonitor_Callback callback, |
135 void* user_data) OVERRIDE; | 135 void* user_data) OVERRIDE; |
136 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; | 136 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; |
137 virtual PP_Resource CreateTCPServerSocketPrivate( | 137 virtual PP_Resource CreateTCPServerSocketPrivate( |
138 PP_Instance instance) OVERRIDE; | 138 PP_Instance instance) OVERRIDE; |
139 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; | 139 virtual PP_Resource CreateTCPSocketPrivate(PP_Instance instance) OVERRIDE; |
140 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; | 140 virtual PP_Resource CreateUDPSocketPrivate(PP_Instance instance) OVERRIDE; |
| 141 virtual PP_Resource CreateVideoDestination(PP_Instance instance) OVERRIDE; |
| 142 virtual PP_Resource CreateVideoSource(PP_Instance instance) OVERRIDE; |
141 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; | 143 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; |
142 virtual PP_Resource CreateX509CertificatePrivate( | 144 virtual PP_Resource CreateX509CertificatePrivate( |
143 PP_Instance instance) OVERRIDE; | 145 PP_Instance instance) OVERRIDE; |
144 #if !defined(OS_NACL) | 146 #if !defined(OS_NACL) |
145 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; | 147 virtual PP_Resource CreateAudioInput(PP_Instance instance) OVERRIDE; |
146 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; | 148 virtual PP_Resource CreateBroker(PP_Instance instance) OVERRIDE; |
147 virtual PP_Resource CreateBrowserFont( | 149 virtual PP_Resource CreateBrowserFont( |
148 PP_Instance instance, | 150 PP_Instance instance, |
149 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; | 151 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
150 virtual PP_Resource CreateBuffer(PP_Instance instance, | 152 virtual PP_Resource CreateBuffer(PP_Instance instance, |
151 uint32_t size) OVERRIDE; | 153 uint32_t size) OVERRIDE; |
152 virtual PP_Resource CreateFlashDRM(PP_Instance instance) OVERRIDE; | 154 virtual PP_Resource CreateFlashDRM(PP_Instance instance) OVERRIDE; |
153 virtual PP_Resource CreateFlashFontFile( | 155 virtual PP_Resource CreateFlashFontFile( |
154 PP_Instance instance, | 156 PP_Instance instance, |
155 const PP_BrowserFont_Trusted_Description* description, | 157 const PP_BrowserFont_Trusted_Description* description, |
156 PP_PrivateFontCharset charset) OVERRIDE; | 158 PP_PrivateFontCharset charset) OVERRIDE; |
157 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 159 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
158 const PP_Flash_Menu* menu_data) OVERRIDE; | 160 const PP_Flash_Menu* menu_data) OVERRIDE; |
159 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 161 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
160 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 162 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
161 PP_Bool vertical) OVERRIDE; | 163 PP_Bool vertical) OVERRIDE; |
162 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 164 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
163 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 165 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
164 virtual PP_Resource CreateVideoDecoder( | 166 virtual PP_Resource CreateVideoDecoder( |
165 PP_Instance instance, | 167 PP_Instance instance, |
166 PP_Resource context3d_id, | 168 PP_Resource context3d_id, |
167 PP_VideoDecoder_Profile profile) OVERRIDE; | 169 PP_VideoDecoder_Profile profile) OVERRIDE; |
168 virtual PP_Resource CreateVideoDestination(PP_Instance instance) OVERRIDE; | |
169 virtual PP_Resource CreateVideoSource(PP_Instance instance) OVERRIDE; | |
170 #endif // !defined(OS_NACL) | 170 #endif // !defined(OS_NACL) |
171 | 171 |
172 virtual bool Send(IPC::Message* msg) OVERRIDE; | 172 virtual bool Send(IPC::Message* msg) OVERRIDE; |
173 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 173 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
174 | 174 |
175 private: | 175 private: |
176 Connection GetConnection(); | 176 Connection GetConnection(); |
177 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 177 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
178 }; | 178 }; |
179 | 179 |
180 } // namespace proxy | 180 } // namespace proxy |
181 } // namespace ppapi | 181 } // namespace ppapi |
182 | 182 |
183 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 183 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |