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 WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
7 | 7 |
8 #include "webkit/plugins/ppapi/plugin_delegate.h" | 8 #include "webkit/plugins/ppapi/plugin_delegate.h" |
9 | 9 |
10 struct PP_NetAddress_Private; | 10 struct PP_NetAddress_Private; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 175 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
176 const EnumerateDevicesCallback& callback); | 176 const EnumerateDevicesCallback& callback); |
177 virtual void StopEnumerateDevices(int request_id); | 177 virtual void StopEnumerateDevices(int request_id); |
178 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( | 178 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( |
179 base::PlatformFile handle, | 179 base::PlatformFile handle, |
180 base::ProcessId target_process_id, | 180 base::ProcessId target_process_id, |
181 bool should_close_source) const; | 181 bool should_close_source) const; |
182 virtual bool IsRunningInProcess(PP_Instance instance) const; | 182 virtual bool IsRunningInProcess(PP_Instance instance) const; |
183 virtual void HandleDocumentLoad(PluginInstance* instance, | 183 virtual void HandleDocumentLoad(PluginInstance* instance, |
184 const WebKit::WebURLResponse& response); | 184 const WebKit::WebURLResponse& response); |
| 185 virtual content::RendererPpapiHost* CreateExternalPluginModule( |
| 186 scoped_refptr<PluginModule> module, |
| 187 const base::FilePath& path, |
| 188 ::ppapi::PpapiPermissions permissions, |
| 189 const IPC::ChannelHandle& channel_handle, |
| 190 base::ProcessId plugin_pid, |
| 191 int plugin_child_id); |
185 }; | 192 }; |
186 | 193 |
187 } // namespace ppapi | 194 } // namespace ppapi |
188 } // namespace webkit | 195 } // namespace webkit |
189 | 196 |
190 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 197 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |