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

Side by Side Diff: chrome/browser/cocoa/restart_browser.mm

Issue 3203008: Move prefs-related files under chrome/browser/ into a prefs/ subdir. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/cocoa/restart_browser.h" 5 #import "chrome/browser/cocoa/restart_browser.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/l10n_util_mac.h" 8 #include "app/l10n_util_mac.h"
9 #include "chrome/browser/browser_list.h" 9 #include "chrome/browser/browser_list.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/pref_service.h" 11 #include "chrome/browser/prefs/pref_service.h"
12 #include "chrome/common/pref_names.h" 12 #include "chrome/common/pref_names.h"
13 #include "grit/chromium_strings.h" 13 #include "grit/chromium_strings.h"
14 #include "grit/generated_resources.h" 14 #include "grit/generated_resources.h"
15 #include "grit/app_strings.h" 15 #include "grit/app_strings.h"
16 16
17 // Helper to clean up after the notification that the alert was dismissed. 17 // Helper to clean up after the notification that the alert was dismissed.
18 @interface RestartHelper : NSObject { 18 @interface RestartHelper : NSObject {
19 @private 19 @private
20 NSAlert* alert_; 20 NSAlert* alert_;
21 } 21 }
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 [alert addButtonWithTitle:notNowButtin]; 77 [alert addButtonWithTitle:notNowButtin];
78 [alert addButtonWithTitle:restartButton]; 78 [alert addButtonWithTitle:restartButton];
79 79
80 [alert beginSheetModalForWindow:parent 80 [alert beginSheetModalForWindow:parent
81 modalDelegate:helper 81 modalDelegate:helper
82 didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:) 82 didEndSelector:@selector(alertDidEnd:returnCode:contextInfo:)
83 contextInfo:nil]; 83 contextInfo:nil];
84 } 84 }
85 85
86 } // namespace restart_browser 86 } // namespace restart_browser
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698