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 |