| OLD | NEW |
| 1 // Copyright (c) 2011 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 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h" | 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h" |
| 6 | 6 |
| 7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
| 8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "base/strings/sys_string_conversions.h" | 9 #include "base/strings/sys_string_conversions.h" |
| 10 #include "chrome/browser/bookmarks/bookmark_expanded_state_tracker.h" | 10 #include "chrome/browser/bookmarks/bookmark_expanded_state_tracker.h" |
| 11 #include "chrome/browser/bookmarks/bookmark_model.h" | 11 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 12 #include "chrome/browser/net/url_fixer_upper.h" | 12 #include "chrome/browser/net/url_fixer_upper.h" |
| 13 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/ui/bookmarks/bookmark_utils.h" | 14 #include "chrome/browser/ui/bookmarks/bookmark_utils.h" |
| 15 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_cell_single_line.h" | 15 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_cell_single_line.h" |
| 16 #include "components/user_prefs/user_prefs.h" | 16 #include "components/user_prefs/user_prefs.h" |
| 17 #include "ui/base/l10n/l10n_util.h" | 17 #include "ui/base/l10n/l10n_util.h" |
| 18 | 18 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 SetExpandedNodes(expanded_nodes); | 163 SetExpandedNodes(expanded_nodes); |
| 164 return [NSNumber numberWithBool:YES]; | 164 return [NSNumber numberWithBool:YES]; |
| 165 } | 165 } |
| 166 | 166 |
| 167 - (NSColor *)urlFieldColor { | 167 - (NSColor *)urlFieldColor { |
| 168 return [urlField_ backgroundColor]; | 168 return [urlField_ backgroundColor]; |
| 169 } | 169 } |
| 170 | 170 |
| 171 @end // BookmarkEditorController | 171 @end // BookmarkEditorController |
| 172 | 172 |
| OLD | NEW |