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.mm

Issue 31243002: Move Linux/Android breakpad implementation to breakpad component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 2 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
« no previous file with comments | « chrome/browser/crash_handler_host_linux.cc ('k') | chrome/browser/ui/gtk/first_run_dialog.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_dialog.h" 5 #import "chrome/browser/ui/cocoa/first_run_dialog.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/mac/bundle_locations.h" 8 #include "base/mac/bundle_locations.h"
9 #include "base/mac/mac_util.h" 9 #include "base/mac/mac_util.h"
10 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
(...skipping 11 matching lines...) Expand all
22 #include "grit/locale_settings.h" 22 #include "grit/locale_settings.h"
23 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" 23 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h"
24 #include "ui/base/l10n/l10n_util_mac.h" 24 #include "ui/base/l10n/l10n_util_mac.h"
25 #include "url/gurl.h" 25 #include "url/gurl.h"
26 26
27 #if defined(GOOGLE_CHROME_BUILD) 27 #if defined(GOOGLE_CHROME_BUILD)
28 #include "base/prefs/pref_service.h" 28 #include "base/prefs/pref_service.h"
29 #include "chrome/browser/browser_process.h" 29 #include "chrome/browser/browser_process.h"
30 #include "chrome/common/pref_names.h" 30 #include "chrome/common/pref_names.h"
31 #include "chrome/installer/util/google_update_settings.h" 31 #include "chrome/installer/util/google_update_settings.h"
32 #import "components/breakpad/breakpad_mac.h" 32 #import "components/breakpad/app/breakpad_mac.h"
33 #endif 33 #endif
34 34
35 @interface FirstRunDialogController (PrivateMethods) 35 @interface FirstRunDialogController (PrivateMethods)
36 // Show the dialog. 36 // Show the dialog.
37 - (void)show; 37 - (void)show;
38 @end 38 @end
39 39
40 namespace { 40 namespace {
41 41
42 // Compare function for -[NSArray sortedArrayUsingFunction:context:] that 42 // Compare function for -[NSArray sortedArrayUsingFunction:context:] that
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 [NSApp stopModal]; 289 [NSApp stopModal];
290 } 290 }
291 291
292 - (IBAction)learnMore:(id)sender { 292 - (IBAction)learnMore:(id)sender {
293 NSString* urlStr = base::SysUTF8ToNSString(chrome::kLearnMoreReportingURL); 293 NSString* urlStr = base::SysUTF8ToNSString(chrome::kLearnMoreReportingURL);
294 NSURL* learnMoreUrl = [NSURL URLWithString:urlStr]; 294 NSURL* learnMoreUrl = [NSURL URLWithString:urlStr];
295 [[NSWorkspace sharedWorkspace] openURL:learnMoreUrl]; 295 [[NSWorkspace sharedWorkspace] openURL:learnMoreUrl];
296 } 296 }
297 297
298 @end 298 @end
OLDNEW
« no previous file with comments | « chrome/browser/crash_handler_host_linux.cc ('k') | chrome/browser/ui/gtk/first_run_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698