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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 virtual bool IsMouseLocked(PluginInstance* instance); | 177 virtual bool IsMouseLocked(PluginInstance* instance); |
178 virtual void DidChangeCursor(PluginInstance* instance, | 178 virtual void DidChangeCursor(PluginInstance* instance, |
179 const WebKit::WebCursorInfo& cursor); | 179 const WebKit::WebCursorInfo& cursor); |
180 virtual void DidReceiveMouseEvent(PluginInstance* instance); | 180 virtual void DidReceiveMouseEvent(PluginInstance* instance); |
181 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 181 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
182 virtual bool IsInFullscreenMode(); | 182 virtual bool IsInFullscreenMode(); |
183 virtual bool IsPageVisible() const; | 183 virtual bool IsPageVisible() const; |
184 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 184 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
185 const EnumerateDevicesCallback& callback); | 185 const EnumerateDevicesCallback& callback); |
186 virtual void StopEnumerateDevices(int request_id); | 186 virtual void StopEnumerateDevices(int request_id); |
187 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( | |
188 const GURL& document_url, | |
189 const GURL& plugin_url); | |
190 }; | 187 }; |
191 | 188 |
192 } // namespace ppapi | 189 } // namespace ppapi |
193 } // namespace webkit | 190 } // namespace webkit |
194 | 191 |
195 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 192 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |