| 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 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; | 137 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
| 138 virtual PP_Resource CreateBuffer(PP_Instance instance, | 138 virtual PP_Resource CreateBuffer(PP_Instance instance, |
| 139 uint32_t size) OVERRIDE; | 139 uint32_t size) OVERRIDE; |
| 140 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 140 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
| 141 virtual PP_Resource CreateFileChooser( | 141 virtual PP_Resource CreateFileChooser( |
| 142 PP_Instance instance, | 142 PP_Instance instance, |
| 143 PP_FileChooserMode_Dev mode, | 143 PP_FileChooserMode_Dev mode, |
| 144 const char* accept_types) OVERRIDE; | 144 const char* accept_types) OVERRIDE; |
| 145 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; | 145 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
| 146 virtual PP_Resource CreateFlashFontFile( |
| 147 PP_Instance instance, |
| 148 const PP_FontDescription_Dev* description, |
| 149 PP_PrivateFontCharset charset) OVERRIDE; |
| 146 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 150 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
| 147 const PP_Flash_Menu* menu_data) OVERRIDE; | 151 const PP_Flash_Menu* menu_data) OVERRIDE; |
| 148 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 152 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
| 149 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; | 153 virtual PP_Resource CreatePrinting(PP_Instance) OVERRIDE; |
| 150 virtual PP_Resource CreateScrollbar(PP_Instance instance, | 154 virtual PP_Resource CreateScrollbar(PP_Instance instance, |
| 151 PP_Bool vertical) OVERRIDE; | 155 PP_Bool vertical) OVERRIDE; |
| 152 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; | 156 virtual PP_Resource CreateTalk(PP_Instance instance) OVERRIDE; |
| 153 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; | 157 virtual PP_Resource CreateVideoCapture(PP_Instance instance) OVERRIDE; |
| 154 virtual PP_Resource CreateVideoDecoder( | 158 virtual PP_Resource CreateVideoDecoder( |
| 155 PP_Instance instance, | 159 PP_Instance instance, |
| 156 PP_Resource context3d_id, | 160 PP_Resource context3d_id, |
| 157 PP_VideoDecoder_Profile profile) OVERRIDE; | 161 PP_VideoDecoder_Profile profile) OVERRIDE; |
| 158 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; | 162 virtual PP_Resource CreateWebSocket(PP_Instance instance) OVERRIDE; |
| 159 #endif // !defined(OS_NACL) | 163 #endif // !defined(OS_NACL) |
| 160 | 164 |
| 161 virtual bool Send(IPC::Message* msg) OVERRIDE; | 165 virtual bool Send(IPC::Message* msg) OVERRIDE; |
| 162 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 166 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 163 | 167 |
| 164 private: | 168 private: |
| 165 Connection GetConnection(); | 169 Connection GetConnection(); |
| 166 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 170 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
| 167 }; | 171 }; |
| 168 | 172 |
| 169 } // namespace proxy | 173 } // namespace proxy |
| 170 } // namespace ppapi | 174 } // namespace ppapi |
| 171 | 175 |
| 172 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 176 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
| OLD | NEW |