| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 PP_FileChooserMode_Dev mode, | 139 PP_FileChooserMode_Dev mode, |
| 140 const char* accept_types) OVERRIDE; | 140 const char* accept_types) OVERRIDE; |
| 141 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; | 141 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
| 142 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 142 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 143 const PP_Flash_Menu* menu_data) OVERRIDE; | 143 const PP_Flash_Menu* menu_data) OVERRIDE; |
| 144 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 144 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
| 145 virtual PP_Resource CreateNetworkMonitor( | 145 virtual PP_Resource CreateNetworkMonitor( |
| 146 PP_Instance instance, | 146 PP_Instance instance, |
| 147 PPB_NetworkMonitor_Callback callback, | 147 PPB_NetworkMonitor_Callback callback, |
| 148 void* user_data) OVERRIDE; | 148 void* user_data) OVERRIDE; |
| 149 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; |
| 149 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 150 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 150 PP_Bool vertical) OVERRIDE; | 151 PP_Bool vertical) OVERRIDE; |
| 151 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 152 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
| 152 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 153 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
| 153 virtual PP_Resource CreateVideoDecoder( | 154 virtual PP_Resource CreateVideoDecoder( |
| 154 PP_Instance instance, | 155 PP_Instance instance, |
| 155 PP_Resource context3d_id, | 156 PP_Resource context3d_id, |
| 156 PP_VideoDecoder_Profile profile) OVERRIDE; | 157 PP_VideoDecoder_Profile profile) OVERRIDE; |
| 157 virtual PP_Resource CreateVideoLayer(PP_Instance instance, | 158 virtual PP_Resource CreateVideoLayer(PP_Instance instance, |
| 158 PP_VideoLayerMode_Dev mode) OVERRIDE; | 159 PP_VideoLayerMode_Dev mode) OVERRIDE; |
| 159 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; | 160 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; |
| 160 #endif // !defined(OS_NACL) | 161 #endif // !defined(OS_NACL) |
| 161 | 162 |
| 162 virtual bool Send(IPC::Message* msg) OVERRIDE; | 163 virtual bool Send(IPC::Message* msg) OVERRIDE; |
| 163 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 164 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 164 | 165 |
| 165 private: | 166 private: |
| 166 Connection GetConnection(); | 167 Connection GetConnection(); |
| 167 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 168 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
| 168 }; | 169 }; |
| 169 | 170 |
| 170 } // namespace proxy | 171 } // namespace proxy |
| 171 } // namespace ppapi | 172 } // namespace ppapi |
| 172 | 173 |
| 173 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 174 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| OLD | NEW |