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