| 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 "chrome/browser/bookmarks/bookmark_drag_data.h" | 15 #include "chrome/browser/bookmarks/bookmark_drag_data.h" | 
| 16 #include "chrome/browser/bookmarks/bookmark_model.h" | 16 #include "chrome/browser/bookmarks/bookmark_model.h" | 
| 17 #if defined(OS_MACOSX) | 17 #if defined(OS_MACOSX) | 
| 18 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" | 18 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" | 
| 19 #endif | 19 #endif | 
| 20 #include "chrome/browser/browser.h" | 20 #include "chrome/browser/browser.h" | 
| 21 #include "chrome/browser/browser_list.h" | 21 #include "chrome/browser/browser_list.h" | 
| 22 #include "chrome/browser/browser_process.h" | 22 #include "chrome/browser/browser_process.h" | 
| 23 #include "chrome/browser/browser_window.h" | 23 #include "chrome/browser/browser_window.h" | 
| 24 #include "chrome/browser/history/query_parser.h" | 24 #include "chrome/browser/history/query_parser.h" | 
| 25 #include "chrome/browser/platform_util.h" | 25 #include "chrome/browser/platform_util.h" | 
| 26 #include "chrome/browser/pref_service.h" | 26 #include "chrome/browser/prefs/pref_service.h" | 
| 27 #include "chrome/browser/profile.h" | 27 #include "chrome/browser/profile.h" | 
| 28 #include "chrome/browser/tab_contents/page_navigator.h" | 28 #include "chrome/browser/tab_contents/page_navigator.h" | 
| 29 #include "chrome/browser/tab_contents/tab_contents.h" | 29 #include "chrome/browser/tab_contents/tab_contents.h" | 
| 30 #include "chrome/common/notification_service.h" | 30 #include "chrome/common/notification_service.h" | 
| 31 #include "chrome/common/pref_names.h" | 31 #include "chrome/common/pref_names.h" | 
| 32 #include "grit/app_strings.h" | 32 #include "grit/app_strings.h" | 
| 33 #include "grit/chromium_strings.h" | 33 #include "grit/chromium_strings.h" | 
| 34 #include "grit/generated_resources.h" | 34 #include "grit/generated_resources.h" | 
| 35 #include "net/base/net_util.h" | 35 #include "net/base/net_util.h" | 
| 36 #include "views/event.h" | 36 #include "views/event.h" | 
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 650       } | 650       } | 
| 651     } else { | 651     } else { | 
| 652       *index = real_parent->GetChildCount(); | 652       *index = real_parent->GetChildCount(); | 
| 653     } | 653     } | 
| 654   } | 654   } | 
| 655 | 655 | 
| 656   return real_parent; | 656   return real_parent; | 
| 657 } | 657 } | 
| 658 | 658 | 
| 659 }  // namespace bookmark_utils | 659 }  // namespace bookmark_utils | 
| OLD | NEW | 
|---|