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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 virtual bool IsInFullscreenMode(); | 174 virtual bool IsInFullscreenMode(); |
175 virtual bool IsPageVisible() const; | 175 virtual bool IsPageVisible() const; |
176 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 176 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
177 const EnumerateDevicesCallback& callback); | 177 const EnumerateDevicesCallback& callback); |
178 virtual void StopEnumerateDevices(int request_id); | 178 virtual void StopEnumerateDevices(int request_id); |
179 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( | 179 virtual IPC::PlatformFileForTransit ShareHandleWithRemote( |
180 base::PlatformFile handle, | 180 base::PlatformFile handle, |
181 base::ProcessId target_process_id, | 181 base::ProcessId target_process_id, |
182 bool should_close_source) const; | 182 bool should_close_source) const; |
183 virtual bool IsRunningInProcess(PP_Instance instance) const; | 183 virtual bool IsRunningInProcess(PP_Instance instance) const; |
| 184 virtual void HandleDocumentLoad(PluginInstance* instance, |
| 185 const WebKit::WebURLResponse& response); |
184 }; | 186 }; |
185 | 187 |
186 } // namespace ppapi | 188 } // namespace ppapi |
187 } // namespace webkit | 189 } // namespace webkit |
188 | 190 |
189 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 191 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |