| 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_utils_gtk.h" | 5 #include "chrome/browser/gtk/bookmark_utils_gtk.h" |
| 6 | 6 |
| 7 #include "app/gtk_dnd_util.h" | 7 #include "app/gtk_dnd_util.h" |
| 8 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
| 9 #include "app/resource_bundle.h" | 9 #include "app/resource_bundle.h" |
| 10 #include "base/pickle.h" | 10 #include "base/pickle.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 GURL url; | 431 GURL url; |
| 432 string16 title; | 432 string16 title; |
| 433 if (!gtk_dnd_util::ExtractNetscapeURL(selection_data, &url, &title)) | 433 if (!gtk_dnd_util::ExtractNetscapeURL(selection_data, &url, &title)) |
| 434 return false; | 434 return false; |
| 435 | 435 |
| 436 model->AddURL(parent, idx, title, url); | 436 model->AddURL(parent, idx, title, url); |
| 437 return true; | 437 return true; |
| 438 } | 438 } |
| 439 | 439 |
| 440 } // namespace bookmark_utils | 440 } // namespace bookmark_utils |
| OLD | NEW |