| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/bookmarks/bookmark_utils.h" | 5 #include "chrome/browser/bookmarks/bookmark_utils.h" |
| 6 | 6 |
| 7 #include "app/drag_drop_types.h" | 7 #include "app/drag_drop_types.h" |
| 8 #include "app/l10n_util.h" | 8 #include "app/l10n_util.h" |
| 9 #include "app/tree_node_iterator.h" | 9 #include "app/tree_node_iterator.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 #include "base/string_number_conversions.h" | 12 #include "base/string_number_conversions.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "base/time.h" | 14 #include "base/time.h" |
| 15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
| 16 #include "chrome/browser/bookmarks/bookmark_drag_data.h" | 16 #include "chrome/browser/bookmarks/bookmark_drag_data.h" |
| 17 #include "chrome/browser/bookmarks/bookmark_model.h" | 17 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 18 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
| 19 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" | 19 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" |
| 20 #endif | 20 #endif |
| 21 #include "chrome/browser/browser.h" | |
| 22 #include "chrome/browser/browser_list.h" | 21 #include "chrome/browser/browser_list.h" |
| 23 #include "chrome/browser/browser_process.h" | 22 #include "chrome/browser/browser_process.h" |
| 24 #include "chrome/browser/browser_window.h" | 23 #include "chrome/browser/browser_window.h" |
| 25 #include "chrome/browser/history/query_parser.h" | 24 #include "chrome/browser/history/query_parser.h" |
| 26 #include "chrome/browser/platform_util.h" | 25 #include "chrome/browser/platform_util.h" |
| 27 #include "chrome/browser/prefs/pref_service.h" | 26 #include "chrome/browser/prefs/pref_service.h" |
| 28 #include "chrome/browser/profile.h" | 27 #include "chrome/browser/profile.h" |
| 29 #include "chrome/browser/tab_contents/page_navigator.h" | 28 #include "chrome/browser/tab_contents/page_navigator.h" |
| 30 #include "chrome/browser/tab_contents/tab_contents.h" | 29 #include "chrome/browser/tab_contents/tab_contents.h" |
| 30 #include "chrome/browser/ui/browser.h" |
| 31 #include "chrome/common/notification_service.h" | 31 #include "chrome/common/notification_service.h" |
| 32 #include "chrome/common/pref_names.h" | 32 #include "chrome/common/pref_names.h" |
| 33 #include "grit/app_strings.h" | 33 #include "grit/app_strings.h" |
| 34 #include "grit/chromium_strings.h" | 34 #include "grit/chromium_strings.h" |
| 35 #include "grit/generated_resources.h" | 35 #include "grit/generated_resources.h" |
| 36 #include "net/base/net_util.h" | 36 #include "net/base/net_util.h" |
| 37 #include "views/event.h" | 37 #include "views/event.h" |
| 38 | 38 |
| 39 #if defined(TOOLKIT_VIEWS) | 39 #if defined(TOOLKIT_VIEWS) |
| 40 #include "app/os_exchange_data.h" | 40 #include "app/os_exchange_data.h" |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 } | 648 } |
| 649 } else { | 649 } else { |
| 650 *index = real_parent->GetChildCount(); | 650 *index = real_parent->GetChildCount(); |
| 651 } | 651 } |
| 652 } | 652 } |
| 653 | 653 |
| 654 return real_parent; | 654 return real_parent; |
| 655 } | 655 } |
| 656 | 656 |
| 657 } // namespace bookmark_utils | 657 } // namespace bookmark_utils |
| OLD | NEW |