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

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

Issue 9212066: Modified the flash cipboard interface to add html clipboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 10 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;
11 namespace webkit_glue { class ClipboardClient; }
11 12
12 namespace webkit { 13 namespace webkit {
13 namespace ppapi { 14 namespace ppapi {
14 15
15 class MockPluginDelegate : public PluginDelegate { 16 class MockPluginDelegate : public PluginDelegate {
16 public: 17 public:
17 MockPluginDelegate(); 18 MockPluginDelegate();
18 virtual ~MockPluginDelegate(); 19 virtual ~MockPluginDelegate();
19 20
20 virtual void PluginFocusChanged(PluginInstance* instance, bool focused); 21 virtual void PluginFocusChanged(PluginInstance* instance, bool focused);
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 virtual void UnlockMouse(PluginInstance* instance); 156 virtual void UnlockMouse(PluginInstance* instance);
156 virtual bool IsMouseLocked(PluginInstance* instance); 157 virtual bool IsMouseLocked(PluginInstance* instance);
157 virtual void DidChangeCursor(PluginInstance* instance, 158 virtual void DidChangeCursor(PluginInstance* instance,
158 const WebKit::WebCursorInfo& cursor); 159 const WebKit::WebCursorInfo& cursor);
159 virtual void DidReceiveMouseEvent(PluginInstance* instance); 160 virtual void DidReceiveMouseEvent(PluginInstance* instance);
160 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; 161 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
161 virtual bool IsInFullscreenMode(); 162 virtual bool IsInFullscreenMode();
162 virtual bool IsPageVisible() const; 163 virtual bool IsPageVisible() const;
163 virtual int EnumerateDevices(PP_DeviceType_Dev type, 164 virtual int EnumerateDevices(PP_DeviceType_Dev type,
164 const EnumerateDevicesCallback& callback); 165 const EnumerateDevicesCallback& callback);
166 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
165 }; 167 };
166 168
167 } // namespace ppapi 169 } // namespace ppapi
168 } // namespace webkit 170 } // namespace webkit
169 171
170 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 172 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698