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

Side by Side Diff: webkit/plugins/ppapi/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_PLUGIN_DELEGATE_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/message_loop_proxy.h" 11 #include "base/message_loop_proxy.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/platform_file.h" 13 #include "base/platform_file.h"
14 #include "base/shared_memory.h" 14 #include "base/shared_memory.h"
15 #include "base/sync_socket.h" 15 #include "base/sync_socket.h"
16 #include "base/time.h" 16 #include "base/time.h"
17 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
18 #include "media/video/capture/video_capture.h" 18 #include "media/video/capture/video_capture.h"
19 #include "media/video/video_decode_accelerator.h" 19 #include "media/video/video_decode_accelerator.h"
20 #include "ppapi/c/dev/pp_video_dev.h" 20 #include "ppapi/c/dev/pp_video_dev.h"
21 #include "ppapi/c/pp_completion_callback.h" 21 #include "ppapi/c/pp_completion_callback.h"
22 #include "ppapi/c/pp_errors.h" 22 #include "ppapi/c/pp_errors.h"
23 #include "ppapi/c/pp_instance.h" 23 #include "ppapi/c/pp_instance.h"
24 #include "ppapi/c/pp_stdint.h" 24 #include "ppapi/c/pp_stdint.h"
25 #include "ui/gfx/size.h" 25 #include "ui/gfx/size.h"
26 #include "webkit/fileapi/file_system_types.h" 26 #include "webkit/fileapi/file_system_types.h"
27 #include "webkit/glue/clipboard_client.h"
27 #include "webkit/plugins/ppapi/dir_contents.h" 28 #include "webkit/plugins/ppapi/dir_contents.h"
28 #include "webkit/quota/quota_types.h" 29 #include "webkit/quota/quota_types.h"
29 30
30 class GURL; 31 class GURL;
31 struct PP_NetAddress_Private; 32 struct PP_NetAddress_Private;
32 class SkBitmap; 33 class SkBitmap;
33 class TransportDIB; 34 class TransportDIB;
34 35
35 namespace base { 36 namespace base {
36 class MessageLoopProxy; 37 class MessageLoopProxy;
(...skipping 21 matching lines...) Expand all
58 } 59 }
59 60
60 namespace WebKit { 61 namespace WebKit {
61 class WebFileChooserCompletion; 62 class WebFileChooserCompletion;
62 class WebGamepads; 63 class WebGamepads;
63 struct WebCursorInfo; 64 struct WebCursorInfo;
64 struct WebFileChooserParams; 65 struct WebFileChooserParams;
65 } 66 }
66 67
67 namespace webkit_glue { 68 namespace webkit_glue {
69 class ClipboardClient;
68 class P2PTransport; 70 class P2PTransport;
69 } // namespace webkit_glue 71 } // namespace webkit_glue
70 72
71 namespace webkit { 73 namespace webkit {
72 namespace ppapi { 74 namespace ppapi {
73 75
74 class FileIO; 76 class FileIO;
75 class FullscreenContainer; 77 class FullscreenContainer;
76 class PepperFilePath; 78 class PepperFilePath;
77 class PluginInstance; 79 class PluginInstance;
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 virtual void DidReceiveMouseEvent(PluginInstance* instance) = 0; 519 virtual void DidReceiveMouseEvent(PluginInstance* instance) = 0;
518 520
519 // Determines if the browser entered fullscreen mode. 521 // Determines if the browser entered fullscreen mode.
520 virtual bool IsInFullscreenMode() = 0; 522 virtual bool IsInFullscreenMode() = 0;
521 523
522 // Retrieve current gamepad data. 524 // Retrieve current gamepad data.
523 virtual void SampleGamepads(WebKit::WebGamepads* data) = 0; 525 virtual void SampleGamepads(WebKit::WebGamepads* data) = 0;
524 526
525 // Returns true if the containing page is visible. 527 // Returns true if the containing page is visible.
526 virtual bool IsPageVisible() const = 0; 528 virtual bool IsPageVisible() const = 0;
529
530 // Create a ClipboardClient for writing to the clipboard. The caller will own
531 // the pointer to this.
532 virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
527 }; 533 };
528 534
529 } // namespace ppapi 535 } // namespace ppapi
530 } // namespace webkit 536 } // namespace webkit
531 537
532 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_ 538 #endif // WEBKIT_PLUGINS_PPAPI_PLUGIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698