| 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/bookmark_menu_controller_gtk.h" | 5 #include "chrome/browser/gtk/bookmark_menu_controller_gtk.h" |
| 6 | 6 |
| 7 #include <gtk/gtk.h> | 7 #include <gtk/gtk.h> |
| 8 | 8 |
| 9 #include "app/gtk_dnd_util.h" | 9 #include "app/gtk_dnd_util.h" |
| 10 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
| 11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 } | 366 } |
| 367 | 367 |
| 368 void BookmarkMenuController::OnMenuItemDragGet( | 368 void BookmarkMenuController::OnMenuItemDragGet( |
| 369 GtkWidget* widget, GdkDragContext* context, | 369 GtkWidget* widget, GdkDragContext* context, |
| 370 GtkSelectionData* selection_data, | 370 GtkSelectionData* selection_data, |
| 371 guint target_type, guint time) { | 371 guint target_type, guint time) { |
| 372 const BookmarkNode* node = bookmark_utils::BookmarkNodeForWidget(widget); | 372 const BookmarkNode* node = bookmark_utils::BookmarkNodeForWidget(widget); |
| 373 bookmark_utils::WriteBookmarkToSelection(node, selection_data, target_type, | 373 bookmark_utils::WriteBookmarkToSelection(node, selection_data, target_type, |
| 374 profile_); | 374 profile_); |
| 375 } | 375 } |
| OLD | NEW |