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

Side by Side Diff: chrome/browser/ui/cocoa/first_run_bubble_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/first_run_bubble_controller.h" 5 #import "chrome/browser/ui/cocoa/first_run_bubble_controller.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "chrome/browser/first_run/first_run.h" 9 #include "chrome/browser/first_run/first_run.h"
10 #include "chrome/browser/search_engines/template_url_service_factory.h" 10 #include "chrome/browser/search_engines/template_url_service_factory.h"
11 #include "chrome/browser/ui/chrome_pages.h" 11 #include "chrome/browser/ui/chrome_pages.h"
12 #import "chrome/browser/ui/cocoa/info_bubble_view.h" 12 #import "chrome/browser/ui/cocoa/info_bubble_view.h"
13 #import "chrome/browser/ui/cocoa/l10n_util.h" 13 #import "chrome/browser/ui/cocoa/l10n_util.h"
14 #include "components/search_engines/util.h" 14 #include "components/search_engines/util.h"
15 #include "grit/generated_resources.h"
16 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
17 16
18 @interface FirstRunBubbleController(Private) 17 @interface FirstRunBubbleController(Private)
19 - (id)initRelativeToView:(NSView*)view 18 - (id)initRelativeToView:(NSView*)view
20 offset:(NSPoint)offset 19 offset:(NSPoint)offset
21 browser:(Browser*)browser 20 browser:(Browser*)browser
22 profile:(Profile*)profile; 21 profile:(Profile*)profile;
23 - (void)closeIfNotKey; 22 - (void)closeIfNotKey;
24 @end 23 @end
25 24
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 - (IBAction)onChange:(id)sender { 93 - (IBAction)onChange:(id)sender {
95 first_run::LogFirstRunMetric(first_run::FIRST_RUN_BUBBLE_CHANGE_INVOKED); 94 first_run::LogFirstRunMetric(first_run::FIRST_RUN_BUBBLE_CHANGE_INVOKED);
96 95
97 Browser* browser = browser_; 96 Browser* browser = browser_;
98 [self close]; 97 [self close];
99 if (browser) 98 if (browser)
100 chrome::ShowSearchEngineSettings(browser); 99 chrome::ShowSearchEngineSettings(browser);
101 } 100 }
102 101
103 @end // FirstRunBubbleController 102 @end // FirstRunBubbleController
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/media_galleries_dialog_cocoa.mm ('k') | chrome/browser/ui/cocoa/first_run_dialog.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698