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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 virtual void DidChangeCursor(PluginInstance* instance, | 197 virtual void DidChangeCursor(PluginInstance* instance, |
198 const WebKit::WebCursorInfo& cursor); | 198 const WebKit::WebCursorInfo& cursor); |
199 virtual void DidReceiveMouseEvent(PluginInstance* instance); | 199 virtual void DidReceiveMouseEvent(PluginInstance* instance); |
200 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 200 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
201 virtual bool IsInFullscreenMode(); | 201 virtual bool IsInFullscreenMode(); |
202 virtual bool IsPageVisible() const; | 202 virtual bool IsPageVisible() const; |
203 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 203 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
204 const EnumerateDevicesCallback& callback); | 204 const EnumerateDevicesCallback& callback); |
205 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; | 205 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; |
206 virtual std::string GetDeviceID(); | 206 virtual std::string GetDeviceID(); |
| 207 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( |
| 208 const GURL& document_url, |
| 209 const GURL& plugin_url); |
207 }; | 210 }; |
208 | 211 |
209 } // namespace ppapi | 212 } // namespace ppapi |
210 } // namespace webkit | 213 } // namespace webkit |
211 | 214 |
212 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 215 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |