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

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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 virtual void UnlockMouse(PluginInstance* instance); 165 virtual void UnlockMouse(PluginInstance* instance);
165 virtual bool IsMouseLocked(PluginInstance* instance); 166 virtual bool IsMouseLocked(PluginInstance* instance);
166 virtual void DidChangeCursor(PluginInstance* instance, 167 virtual void DidChangeCursor(PluginInstance* instance,
167 const WebKit::WebCursorInfo& cursor); 168 const WebKit::WebCursorInfo& cursor);
168 virtual void DidReceiveMouseEvent(PluginInstance* instance); 169 virtual void DidReceiveMouseEvent(PluginInstance* instance);
169 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE; 170 virtual void SampleGamepads(WebKit::WebGamepads* data) OVERRIDE;
170 virtual bool IsInFullscreenMode(); 171 virtual bool IsInFullscreenMode();
171 virtual bool IsPageVisible() const; 172 virtual bool IsPageVisible() const;
172 virtual int EnumerateDevices(PP_DeviceType_Dev type, 173 virtual int EnumerateDevices(PP_DeviceType_Dev type,
173 const EnumerateDevicesCallback& callback); 174 const EnumerateDevicesCallback& callback);
175 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const;
174 }; 176 };
175 177
176 } // namespace ppapi 178 } // namespace ppapi
177 } // namespace webkit 179 } // namespace webkit
178 180
179 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_ 181 #endif // WEBKIT_PLUGINS_PPAPI_MOCK_PLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/base/clipboard/scoped_clipboard_writer.cc ('k') | webkit/plugins/ppapi/mock_plugin_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698