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

Side by Side Diff: chrome/browser/ui/cocoa/search_engine_dialog_controller.mm

Issue 5961007: Move nsimage_cache from base to app/mac. Use the app::mac namespace. Update c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 12 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) 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 #import "chrome/browser/ui/cocoa/search_engine_dialog_controller.h" 5 #import "chrome/browser/ui/cocoa/search_engine_dialog_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/l10n_util_mac.h" 9 #include "app/l10n_util_mac.h"
10 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
11 #include "base/mac_util.h" 11 #include "base/mac_util.h"
12 #include "base/nsimage_cache_mac.h"
13 #include "base/sys_string_conversions.h" 12 #include "base/sys_string_conversions.h"
14 #include "base/time.h" 13 #include "base/time.h"
15 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/search_engines/template_url.h" 15 #include "chrome/browser/search_engines/template_url.h"
17 #include "chrome/browser/search_engines/template_url_model.h" 16 #include "chrome/browser/search_engines/template_url_model.h"
18 #include "chrome/browser/search_engines/template_url_model_observer.h" 17 #include "chrome/browser/search_engines/template_url_model_observer.h"
19 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
20 #include "grit/theme_resources.h" 19 #include "grit/theme_resources.h"
21 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" 20 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
22 21
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 - (NSFont*)mainLabelFont { 275 - (NSFont*)mainLabelFont {
277 return [NSFont boldSystemFontOfSize:13]; 276 return [NSFont boldSystemFontOfSize:13];
278 } 277 }
279 278
280 - (IBAction)searchEngineSelected:(id)sender { 279 - (IBAction)searchEngineSelected:(id)sender {
281 [[self window] close]; 280 [[self window] close];
282 [NSApp stopModalWithCode:[sender tag]]; 281 [NSApp stopModalWithCode:[sender tag]];
283 } 282 }
284 283
285 @end 284 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/reload_button.mm ('k') | chrome/browser/ui/cocoa/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698