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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/plugin_delegate.h
diff --git a/webkit/plugins/ppapi/plugin_delegate.h b/webkit/plugins/ppapi/plugin_delegate.h
index d91621c8a5fc4d111c3c56f92361f25dbc9a8bfd..d46b427441ab07716409de3061db59490c1d382f 100644
--- a/webkit/plugins/ppapi/plugin_delegate.h
+++ b/webkit/plugins/ppapi/plugin_delegate.h
@@ -24,6 +24,7 @@
#include "ppapi/c/pp_stdint.h"
#include "ui/gfx/size.h"
#include "webkit/fileapi/file_system_types.h"
+#include "webkit/glue/clipboard_client.h"
#include "webkit/plugins/ppapi/dir_contents.h"
#include "webkit/quota/quota_types.h"
@@ -65,6 +66,7 @@ struct WebFileChooserParams;
}
namespace webkit_glue {
+class ClipboardClient;
class P2PTransport;
} // namespace webkit_glue
@@ -524,6 +526,10 @@ class PluginDelegate {
// Returns true if the containing page is visible.
virtual bool IsPageVisible() const = 0;
+
+ // Create a ClipboardClient for writing to the clipboard. The caller will own
+ // the pointer to this.
+ virtual webkit_glue::ClipboardClient* CreateClipboardClient() const = 0;
};
} // namespace ppapi

Powered by Google App Engine
This is Rietveld 408576698