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

Side by Side Diff: chrome/installer/mac/app/InstallerWindowController.m

Issue 2270083002: Added in switches for the Mac Installer to send preferences to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cl5_review
Patch Set: Rebased Created 4 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
« no previous file with comments | « chrome/installer/mac/app/InstallerWindowController.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "InstallerWindowController.h" 5 #import "InstallerWindowController.h"
6 6
7 #import "AppDelegate.h" 7 #import "AppDelegate.h"
8 8
9 @interface InstallerWindowController () { 9 @interface InstallerWindowController () {
10 NSButton* importButton_; 10 NSButton* importButton_;
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 - (void)enableLaunchButton { 132 - (void)enableLaunchButton {
133 [launchButton_ setEnabled:YES]; 133 [launchButton_ setEnabled:YES];
134 } 134 }
135 135
136 - (void)launchButtonClicked { 136 - (void)launchButtonClicked {
137 // TODO: Launch the app and start ejecting disk. 137 // TODO: Launch the app and start ejecting disk.
138 [NSApp terminate:nil]; 138 [NSApp terminate:nil];
139 } 139 }
140 140
141 - (BOOL)isUserMetricsChecked {
142 return optInButton_.state == NSOnState;
143 }
144
145 - (BOOL)isDefaultBrowserChecked {
146 return defaultBrowserButton_.state == NSOnState;
147 }
148
141 @end 149 @end
OLDNEW
« no previous file with comments | « chrome/installer/mac/app/InstallerWindowController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698