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/views/bookmark_editor_view.h" | 5 #include "chrome/browser/views/bookmark_editor_view.h" |
6 | 6 |
7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "chrome/browser/bookmarks/bookmark_model.h" | 12 #include "chrome/browser/bookmarks/bookmark_model.h" |
13 #include "chrome/browser/bookmarks/bookmark_utils.h" | 13 #include "chrome/browser/bookmarks/bookmark_utils.h" |
14 #include "chrome/browser/history/history.h" | 14 #include "chrome/browser/history/history.h" |
15 #include "chrome/browser/prefs/pref_service.h" | 15 #include "chrome/browser/prefs/pref_service.h" |
16 #include "chrome/browser/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
17 #include "chrome/browser/net/url_fixer_upper.h" | 17 #include "chrome/browser/net/url_fixer_upper.h" |
18 #include "chrome/common/pref_names.h" | 18 #include "chrome/common/pref_names.h" |
19 #include "googleurl/src/gurl.h" | 19 #include "googleurl/src/gurl.h" |
20 #include "grit/chromium_strings.h" | 20 #include "grit/chromium_strings.h" |
21 #include "grit/generated_resources.h" | 21 #include "grit/generated_resources.h" |
22 #include "grit/locale_settings.h" | 22 #include "grit/locale_settings.h" |
23 #include "net/base/net_util.h" | 23 #include "net/base/net_util.h" |
24 #include "views/background.h" | 24 #include "views/background.h" |
25 #include "views/focus/focus_manager.h" | 25 #include "views/focus/focus_manager.h" |
26 #include "views/grid_layout.h" | 26 #include "views/grid_layout.h" |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 break; | 576 break; |
577 } | 577 } |
578 } | 578 } |
579 DCHECK(child_bb_node); | 579 DCHECK(child_bb_node); |
580 bb_model_->SetTitle(child_bb_node, child_b_node->GetTitle()); | 580 bb_model_->SetTitle(child_bb_node, child_b_node->GetTitle()); |
581 } | 581 } |
582 ApplyNameChangesAndCreateNewGroups(child_bb_node, child_b_node, | 582 ApplyNameChangesAndCreateNewGroups(child_bb_node, child_b_node, |
583 parent_b_node, parent_bb_node); | 583 parent_b_node, parent_bb_node); |
584 } | 584 } |
585 } | 585 } |
OLD | NEW |