OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
10 #include "chrome/app/locales/locale_settings.h" | 10 #include "chrome/app/locales/locale_settings.h" |
11 #include "chrome/browser/history/history.h" | 11 #include "chrome/browser/history/history.h" |
12 #include "chrome/browser/profile.h" | 12 #include "chrome/browser/profile.h" |
13 #include "chrome/browser/url_fixer_upper.h" | 13 #include "chrome/browser/url_fixer_upper.h" |
14 #include "chrome/browser/views/standard_layout.h" | 14 #include "chrome/browser/views/standard_layout.h" |
15 #include "chrome/common/l10n_util.h" | 15 #include "chrome/common/l10n_util.h" |
16 #include "chrome/views/background.h" | 16 #include "chrome/views/background.h" |
17 #include "chrome/views/focus_manager.h" | 17 #include "chrome/views/focus_manager.h" |
18 #include "chrome/views/grid_layout.h" | 18 #include "chrome/views/grid_layout.h" |
19 #include "chrome/views/label.h" | 19 #include "chrome/views/label.h" |
20 #include "chrome/views/window.h" | 20 #include "chrome/views/window.h" |
21 #include "googleurl/src/gurl.h" | 21 #include "googleurl/src/gurl.h" |
22 | 22 |
23 #include "chromium_strings.h" | 23 #include "chromium_strings.h" |
24 #include "generated_resources.h" | 24 #include "generated_resources.h" |
25 | 25 |
| 26 using base::Time; |
26 using views::ColumnSet; | 27 using views::ColumnSet; |
27 using views::GridLayout; | 28 using views::GridLayout; |
28 using views::Label; | 29 using views::Label; |
29 using views::NativeButton; | 30 using views::NativeButton; |
30 using views::TextField; | 31 using views::TextField; |
31 using views::TreeNode; | 32 using views::TreeNode; |
32 | 33 |
33 // Background color of text field when URL is invalid. | 34 // Background color of text field when URL is invalid. |
34 static const SkColor kErrorColor = SkColorSetRGB(0xFF, 0xBC, 0xBC); | 35 static const SkColor kErrorColor = SkColorSetRGB(0xFF, 0xBC, 0xBC); |
35 | 36 |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 } | 517 } |
517 } | 518 } |
518 DCHECK(child_bb_node); | 519 DCHECK(child_bb_node); |
519 bb_model_->SetTitle(child_bb_node, child_b_node->GetTitle()); | 520 bb_model_->SetTitle(child_bb_node, child_b_node->GetTitle()); |
520 } | 521 } |
521 ApplyNameChangesAndCreateNewGroups(child_bb_node, child_b_node, | 522 ApplyNameChangesAndCreateNewGroups(child_bb_node, child_b_node, |
522 parent_b_node, parent_bb_node); | 523 parent_b_node, parent_bb_node); |
523 } | 524 } |
524 } | 525 } |
525 | 526 |
OLD | NEW |