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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 const PP_Flash_Menu* menu_data) OVERRIDE; | 155 const PP_Flash_Menu* menu_data) OVERRIDE; |
156 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 156 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
157 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 157 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
158 PP_Bool vertical) OVERRIDE; | 158 PP_Bool vertical) OVERRIDE; |
159 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 159 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
160 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 160 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
161 virtual PP_Resource CreateVideoDecoder( | 161 virtual PP_Resource CreateVideoDecoder( |
162 PP_Instance instance, | 162 PP_Instance instance, |
163 PP_Resource context3d_id, | 163 PP_Resource context3d_id, |
164 PP_VideoDecoder_Profile profile) OVERRIDE; | 164 PP_VideoDecoder_Profile profile) OVERRIDE; |
| 165 virtual PP_Resource CreateVideoDestination(PP_Instance instance) OVERRIDE; |
| 166 virtual PP_Resource CreateVideoSource(PP_Instance instance) OVERRIDE; |
165 #endif // !defined(OS_NACL) | 167 #endif // !defined(OS_NACL) |
166 | 168 |
167 virtual bool Send(IPC::Message* msg) OVERRIDE; | 169 virtual bool Send(IPC::Message* msg) OVERRIDE; |
168 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 170 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
169 | 171 |
170 private: | 172 private: |
171 Connection GetConnection(); | 173 Connection GetConnection(); |
172 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 174 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
173 }; | 175 }; |
174 | 176 |
175 } // namespace proxy | 177 } // namespace proxy |
176 } // namespace ppapi | 178 } // namespace ppapi |
177 | 179 |
178 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 180 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |