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

Unified Diff: ui/base/clipboard/clipboard_gtk.cc

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: ui/base/clipboard/clipboard_gtk.cc
diff --git a/ui/base/clipboard/clipboard_gtk.cc b/ui/base/clipboard/clipboard_gtk.cc
index e9af2f330d8fd5d95480ffb031ea595b1610ea36..18be48e6561adcff2aef57684ca2f7f60dfd4ee9 100644
--- a/ui/base/clipboard/clipboard_gtk.cc
+++ b/ui/base/clipboard/clipboard_gtk.cc
@@ -488,6 +488,12 @@ SkBitmap Clipboard::ReadImage(Buffer buffer) const {
return canvas.ExtractBitmap();
}
+void Clipboard::ReadCustomData(Buffer buffer,
+ const string16& type,
+ string16* data) const {
+ // TODO(dcheng): Implement this.
tony 2011/12/02 00:13:29 Nit: NOTIMPLEMENTED()?
dcheng 2011/12/02 00:29:17 Done.
dcheng 2011/12/02 00:29:17 Done.
+}
+
void Clipboard::ReadBookmark(string16* title, std::string* url) const {
// TODO(estade): implement this.
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698