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

Unified Diff: chrome/browser/gtk/gtk_dnd_util.cc

Issue 149301: Gtk: URI list dragging for bookmarks (source side only)... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: undo accidental change Created 11 years, 5 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
« no previous file with comments | « chrome/browser/gtk/bookmark_utils_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/gtk_dnd_util.cc
===================================================================
--- chrome/browser/gtk/gtk_dnd_util.cc (revision 20047)
+++ chrome/browser/gtk/gtk_dnd_util.cc (working copy)
@@ -25,8 +25,14 @@
return bookmark_atom;
case X_CHROME_TEXT_PLAIN:
+ static GdkAtom text_atom = gdk_atom_intern(
+ const_cast<char*>("text/plain"), false);
+ return text_atom;
+
case X_CHROME_TEXT_URI_LIST:
- return NULL;
+ static GdkAtom uris_atom = gdk_atom_intern(
+ const_cast<char*>("text/uri-list"), false);
+ return uris_atom;
default:
NOTREACHED();
« no previous file with comments | « chrome/browser/gtk/bookmark_utils_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698