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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 virtual bool IsMouseLocked(PluginInstance* instance); | 182 virtual bool IsMouseLocked(PluginInstance* instance); |
183 virtual void DidChangeCursor(PluginInstance* instance, | 183 virtual void DidChangeCursor(PluginInstance* instance, |
184 const WebKit::WebCursorInfo& cursor); | 184 const WebKit::WebCursorInfo& cursor); |
185 virtual void DidReceiveMouseEvent(PluginInstance* instance); | 185 virtual void DidReceiveMouseEvent(PluginInstance* instance); |
186 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; | 186 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; |
187 virtual bool IsInFullscreenMode(); | 187 virtual bool IsInFullscreenMode(); |
188 virtual bool IsPageVisible() const; | 188 virtual bool IsPageVisible() const; |
189 virtual int EnumerateDevices(PP_DeviceType_Dev type, | 189 virtual int EnumerateDevices(PP_DeviceType_Dev type, |
190 const EnumerateDevicesCallback& callback); | 190 const EnumerateDevicesCallback& callback); |
191 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; | 191 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; |
| 192 virtual std::string GetDeviceID(); |
192 }; | 193 }; |
193 | 194 |
194 } // namespace ppapi | 195 } // namespace ppapi |
195 } // namespace webkit | 196 } // namespace webkit |
196 | 197 |
197 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ | 198 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ |
OLD | NEW |