summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/tabs/tab_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/gtk/tabs/tab_gtk.cc')
-rw-r--r--chrome/browser/ui/gtk/tabs/tab_gtk.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/ui/gtk/tabs/tab_gtk.cc b/chrome/browser/ui/gtk/tabs/tab_gtk.cc
index 13f788c..b87c753 100644
--- a/chrome/browser/ui/gtk/tabs/tab_gtk.cc
+++ b/chrome/browser/ui/gtk/tabs/tab_gtk.cc
@@ -6,7 +6,6 @@
#include <gdk/gdkkeysyms.h>
-#include "app/gtk_dnd_util.h"
#include "base/singleton.h"
#include "base/utf_string_conversions.h"
#include "chrome/app/chrome_command_ids.h"
@@ -16,6 +15,7 @@
#include "gfx/path.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
+#include "ui/base/dragdrop/gtk_dnd_util.h"
#include "ui/base/models/accelerator_gtk.h"
namespace {
@@ -365,8 +365,7 @@ void TabGtk::DestroyDragWidget() {
void TabGtk::StartDragging(gfx::Point drag_offset) {
CreateDragWidget();
- GtkTargetList* list = gtk_dnd_util::GetTargetListFromCodeMask(
- gtk_dnd_util::CHROME_TAB);
+ GtkTargetList* list = ui::GetTargetListFromCodeMask(ui::CHROME_TAB);
gtk_drag_begin(drag_widget_, list, GDK_ACTION_MOVE,
1, // Drags are always initiated by the left button.
last_mouse_down_);