| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/gtk/custom_drag.h" | 5 #include "chrome/browser/gtk/custom_drag.h" |
| 6 | 6 |
| 7 #include "app/gtk_dnd_util.h" | 7 #include "app/gtk_dnd_util.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 #include "chrome/browser/download/download_item.h" | 9 #include "chrome/browser/download/download_item.h" |
| 10 #include "chrome/browser/gtk/bookmark_utils_gtk.h" | 10 #include "chrome/browser/gtk/bookmark_utils_gtk.h" |
| 11 #include "gfx/gtk_util.h" | 11 #include "gfx/gtk_util.h" |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 guint target_type, guint time) { | 140 guint target_type, guint time) { |
| 141 bookmark_utils::WriteBookmarksToSelection(nodes_, selection_data, | 141 bookmark_utils::WriteBookmarksToSelection(nodes_, selection_data, |
| 142 target_type, profile_); | 142 target_type, profile_); |
| 143 } | 143 } |
| 144 | 144 |
| 145 // static | 145 // static |
| 146 void BookmarkDrag::BeginDrag(Profile* profile, | 146 void BookmarkDrag::BeginDrag(Profile* profile, |
| 147 const std::vector<const BookmarkNode*>& nodes) { | 147 const std::vector<const BookmarkNode*>& nodes) { |
| 148 new BookmarkDrag(profile, nodes); | 148 new BookmarkDrag(profile, nodes); |
| 149 } | 149 } |
| OLD | NEW |