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

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

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #include "chrome/browser/ui/cocoa/first_run_dialog_controller.h" 5 #include "chrome/browser/ui/cocoa/first_run_dialog_controller.h"
6 6
7 #include "base/mac/scoped_nsobject.h" 7 #include "base/mac/scoped_nsobject.h"
8 #include "chrome/browser/ui/cocoa/key_equivalent_constants.h" 8 #include "chrome/browser/ui/cocoa/key_equivalent_constants.h"
9 #include "chrome/browser/ui/cocoa/l10n_util.h" 9 #include "chrome/browser/ui/cocoa/l10n_util.h"
10 #include "chrome/grit/chromium_strings.h" 10 #include "chrome/grit/chromium_strings.h"
11 #include "chrome/grit/generated_resources.h" 11 #include "chrome/grit/generated_resources.h"
12 #include "components/strings/grit/components_strings.h"
13 #include "ui/base/cocoa/controls/button_utils.h" 12 #include "ui/base/cocoa/controls/button_utils.h"
14 #include "ui/base/cocoa/controls/textfield_utils.h" 13 #include "ui/base/cocoa/controls/textfield_utils.h"
15 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
16 #include "ui/base/l10n/l10n_util_mac.h" 15 #include "ui/base/l10n/l10n_util_mac.h"
17 16
18 namespace { 17 namespace {
19 18
20 // Return the internationalized message |message_id|, with the product name 19 // Return the internationalized message |message_id|, with the product name
21 // substituted in for $1. 20 // substituted in for $1.
22 NSString* NSStringWithProductName(int message_id) { 21 NSString* NSStringWithProductName(int message_id) {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 - (BOOL)isMakeDefaultBrowserEnabled { 165 - (BOOL)isMakeDefaultBrowserEnabled {
167 return [defaultBrowserCheckbox_ state] == NSOnState; 166 return [defaultBrowserCheckbox_ state] == NSOnState;
168 } 167 }
169 168
170 - (void)ok:(id)sender { 169 - (void)ok:(id)sender {
171 [[[self view] window] close]; 170 [[[self view] window] close];
172 [NSApp stopModal]; 171 [NSApp stopModal];
173 } 172 }
174 173
175 @end 174 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm ('k') | chrome/browser/ui/cocoa/history_menu_bridge.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698