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

Unified Diff: webkit/glue/clipboard_client.h

Issue 8775025: Add glue for supporting custom MIME types in DataTransfer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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/glue/clipboard_client.h
diff --git a/webkit/glue/clipboard_client.h b/webkit/glue/clipboard_client.h
index 92e8c88582d293679b3ea2697f4e8d0cfd5d43a0..7fe395dc1e41ff2ff0fcd6b9becde4f2ea7d1218 100644
--- a/webkit/glue/clipboard_client.h
+++ b/webkit/glue/clipboard_client.h
@@ -59,6 +59,11 @@ class ClipboardClient {
// Reads and image from the clipboard, if available.
virtual void ReadImage(ui::Clipboard::Buffer buffer, std::string* data) = 0;
+ // Reads a custom data type from the clipboard, if available.
+ virtual void ReadCustomData(ui::Clipboard::Buffer buffer,
+ const string16& type,
+ string16* data) = 0;
+
// Creates a context to write clipboard data. May return NULL.
virtual WriteContext* CreateWriteContext() = 0;
};

Powered by Google App Engine
This is Rietveld 408576698