Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Side by Side Diff: chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.mm

Issue 454583002: Cleanup: Remove unneeded #includes for grit/, ui/base/l10n/l10n_util.h and ui/base/resource/resourc… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Cros some more Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/strings/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/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/bookmarks/bookmark_utils.h" 11 #include "chrome/browser/ui/bookmarks/bookmark_utils.h"
12 #include "components/bookmarks/browser/bookmark_expanded_state_tracker.h" 12 #include "components/bookmarks/browser/bookmark_expanded_state_tracker.h"
13 #include "components/bookmarks/browser/bookmark_model.h" 13 #include "components/bookmarks/browser/bookmark_model.h"
14 #include "components/url_fixer/url_fixer.h" 14 #include "components/url_fixer/url_fixer.h"
15 #include "components/user_prefs/user_prefs.h" 15 #include "components/user_prefs/user_prefs.h"
16 #include "ui/base/l10n/l10n_util.h"
17 16
18 using bookmarks::BookmarkExpandedStateTracker; 17 using bookmarks::BookmarkExpandedStateTracker;
19 18
20 @interface BookmarkEditorController (Private) 19 @interface BookmarkEditorController (Private)
21 20
22 // Grab the url from the text field and convert. 21 // Grab the url from the text field and convert.
23 - (GURL)GURLFromUrlField; 22 - (GURL)GURLFromUrlField;
24 23
25 @end 24 @end
26 25
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 SetExpandedNodes(expanded_nodes); 163 SetExpandedNodes(expanded_nodes);
165 return [NSNumber numberWithBool:YES]; 164 return [NSNumber numberWithBool:YES];
166 } 165 }
167 166
168 - (NSColor *)urlFieldColor { 167 - (NSColor *)urlFieldColor {
169 return [urlField_ backgroundColor]; 168 return [urlField_ backgroundColor];
170 } 169 }
171 170
172 @end // BookmarkEditorController 171 @end // BookmarkEditorController
173 172
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698