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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual PP_Resource CreateBrowserFont( | 104 virtual PP_Resource CreateBrowserFont( |
105 PP_Instance instance, | 105 PP_Instance instance, |
106 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; | 106 const PP_BrowserFont_Trusted_Description* description) OVERRIDE; |
107 virtual PP_Resource CreateBuffer(PP_Instance instance, | 107 virtual PP_Resource CreateBuffer(PP_Instance instance, |
108 uint32_t size) OVERRIDE; | 108 uint32_t size) OVERRIDE; |
109 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; | 109 virtual PP_Resource CreateDirectoryReader(PP_Resource directory_ref) OVERRIDE; |
110 virtual PP_Resource CreateFileChooser( | 110 virtual PP_Resource CreateFileChooser( |
111 PP_Instance instance, | 111 PP_Instance instance, |
112 PP_FileChooserMode_Dev mode, | 112 PP_FileChooserMode_Dev mode, |
113 const char* accept_types) OVERRIDE; | 113 const char* accept_types) OVERRIDE; |
| 114 virtual PP_Resource CreateFlashDeviceID(PP_Instance instance) OVERRIDE; |
114 virtual PP_Resource CreateFlashMenu(PP_Instance instance, | 115 virtual PP_Resource CreateFlashMenu(PP_Instance instance, |
115 const PP_Flash_Menu* menu_data) OVERRIDE; | 116 const PP_Flash_Menu* menu_data) OVERRIDE; |
116 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; | 117 virtual PP_Resource CreateFlashMessageLoop(PP_Instance instance) OVERRIDE; |
117 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, | 118 virtual PP_Resource CreateGraphics2D(PP_Instance pp_instance, |
118 const PP_Size& size, | 119 const PP_Size& size, |
119 PP_Bool is_always_opaque) OVERRIDE; | 120 PP_Bool is_always_opaque) OVERRIDE; |
120 virtual PP_Resource CreateGraphics3D(PP_Instance instance, | 121 virtual PP_Resource CreateGraphics3D(PP_Instance instance, |
121 PP_Resource share_context, | 122 PP_Resource share_context, |
122 const int32_t* attrib_list) OVERRIDE; | 123 const int32_t* attrib_list) OVERRIDE; |
123 virtual PP_Resource CreateGraphics3DRaw( | 124 virtual PP_Resource CreateGraphics3DRaw( |
(...skipping 28 matching lines...) Expand all Loading... |
152 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 153 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
153 | 154 |
154 private: | 155 private: |
155 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); | 156 DISALLOW_COPY_AND_ASSIGN(ResourceCreationProxy); |
156 }; | 157 }; |
157 | 158 |
158 } // namespace proxy | 159 } // namespace proxy |
159 } // namespace ppapi | 160 } // namespace ppapi |
160 | 161 |
161 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ | 162 #endif // PPAPI_PROXY_RESOURCE_CREATION_PROXY_H_ |
OLD | NEW |