Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Side by Side Diff: webkit/plugins/ppapi/mock_plugin_delegate.h

Issue 10834232: Revert 150491 - refactor EnumerateDevices to make it a persistent request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 virtual void UnlockMouse(PluginInstance* instance); 195 virtual void UnlockMouse(PluginInstance* instance);
196 virtual bool IsMouseLocked(PluginInstance* instance); 196 virtual bool IsMouseLocked(PluginInstance* instance);
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 void StopEnumerateDevices(int request_id);
206 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const; 205 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
207 virtual std::string GetDeviceID(); 206 virtual std::string GetDeviceID();
208 virtual PP_FlashLSORestrictions GetLocalDataRestrictions( 207 virtual PP_FlashLSORestrictions GetLocalDataRestrictions(
209 const GURL& document_url, 208 const GURL& document_url,
210 const GURL& plugin_url); 209 const GURL& plugin_url);
211 }; 210 };
212 211
213 } // namespace ppapi 212 } // namespace ppapi
214 } // namespace webkit 213 } // namespace webkit
215 214
216 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 215 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698