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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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" 12 #include "base/nsimage_cache_mac.h"
13 #include "base/sys_string_conversions.h" 13 #include "base/sys_string_conversions.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "chrome/browser/profile.h" 15 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/search_engines/template_url.h" 16 #include "chrome/browser/search_engines/template_url.h"
17 #include "chrome/browser/search_engines/template_url_model.h" 17 #include "chrome/browser/search_engines/template_url_model.h"
18 #include "chrome/browser/search_engines/template_url_model_observer.h" 18 #include "chrome/browser/search_engines/template_url_model_observer.h"
19 #include "grit/generated_resources.h" 19 #include "grit/generated_resources.h"
20 #include "grit/theme_resources.h" 20 #include "grit/theme_resources.h"
21 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" 21 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
22 22
23 // Horizontal spacing between search engine choices. 23 // Horizontal spacing between search engine choices.
24 const int kSearchEngineSpacing = 20; 24 const int kSearchEngineSpacing = 20;
25 25
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 - (NSFont*)mainLabelFont { 276 - (NSFont*)mainLabelFont {
277 return [NSFont boldSystemFontOfSize:13]; 277 return [NSFont boldSystemFontOfSize:13];
278 } 278 }
279 279
280 - (IBAction)searchEngineSelected:(id)sender { 280 - (IBAction)searchEngineSelected:(id)sender {
281 [[self window] close]; 281 [[self window] close];
282 [NSApp stopModalWithCode:[sender tag]]; 282 [NSApp stopModalWithCode:[sender tag]];
283 } 283 }
284 284
285 @end 285 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/preferences_window_controller.mm ('k') | chrome/browser/ui/cocoa/search_engine_list_model_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698