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

Unified Diff: ui/base/dragdrop/os_exchange_data_provider_gtk.cc

Issue 6250014: Move more dnd related files to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « ui/base/dragdrop/os_exchange_data.h ('k') | views/controls/button/menu_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/os_exchange_data_provider_gtk.cc
===================================================================
--- ui/base/dragdrop/os_exchange_data_provider_gtk.cc (revision 71798)
+++ ui/base/dragdrop/os_exchange_data_provider_gtk.cc (working copy)
@@ -6,10 +6,10 @@
#include <algorithm>
-#include "app/gtk_dnd_util.h"
#include "base/file_path.h"
#include "base/utf_string_conversions.h"
#include "net/base/net_util.h"
+#include "ui/base/dragdrop/gtk_dnd_util.h"
namespace ui {
@@ -56,7 +56,7 @@
gtk_target_list_add_uri_targets(targets, OSExchangeData::URL);
gtk_target_list_add(
targets,
- gtk_dnd_util::GetAtomForTarget(gtk_dnd_util::CHROME_NAMED_URL),
+ ui::GetAtomForTarget(ui::CHROME_NAMED_URL),
0,
OSExchangeData::URL);
}
@@ -90,7 +90,7 @@
pickle.WriteString(url_.spec());
gtk_selection_data_set(
selection,
- gtk_dnd_util::GetAtomForTarget(gtk_dnd_util::CHROME_NAMED_URL),
+ ui::GetAtomForTarget(ui::CHROME_NAMED_URL),
8,
reinterpret_cast<const guchar*>(pickle.data()),
pickle.size());
« no previous file with comments | « ui/base/dragdrop/os_exchange_data.h ('k') | views/controls/button/menu_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698