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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 1978563002: Stop compiling password infobar code on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clean up cocoa Created 4 years, 7 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/common/chrome_switches.h ('k') | chrome/test/BUILD.gn » ('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 #include "chrome/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 // Disables app shim creation for hosted apps on Mac. 1152 // Disables app shim creation for hosted apps on Mac.
1153 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; 1153 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation";
1154 1154
1155 // Prevents hosted apps from being opened in windows on Mac. 1155 // Prevents hosted apps from being opened in windows on Mac.
1156 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows"; 1156 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows";
1157 1157
1158 // Disables use of toolkit-views based native app windows. 1158 // Disables use of toolkit-views based native app windows.
1159 const char kDisableMacViewsNativeAppWindows[] = 1159 const char kDisableMacViewsNativeAppWindows[] =
1160 "disable-mac-views-native-app-windows"; 1160 "disable-mac-views-native-app-windows";
1161 1161
1162 // Prevents the save password bubble from being enabled.
1163 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble";
1164
1165 // Disables Translate experimental new UX which replaces the infobar. 1162 // Disables Translate experimental new UX which replaces the infobar.
1166 const char kDisableTranslateNewUX[] = "disable-translate-new-ux"; 1163 const char kDisableTranslateNewUX[] = "disable-translate-new-ux";
1167 1164
1168 // Enable the toolkit-views App Info dialog for Mac. This is accessible from 1165 // Enable the toolkit-views App Info dialog for Mac. This is accessible from
1169 // chrome://apps and chrome://extensions and is already enabled on non-mac. 1166 // chrome://apps and chrome://extensions and is already enabled on non-mac.
1170 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; 1167 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac";
1171 1168
1172 // Enables custom Cmd+` window cycling for platform apps and hosted apps. 1169 // Enables custom Cmd+` window cycling for platform apps and hosted apps.
1173 const char kEnableAppWindowCycling[] = "enable-app-window-cycling"; 1170 const char kEnableAppWindowCycling[] = "enable-app-window-cycling";
1174 1171
1175 // Enables tab detaching in fullscreen mode on Mac. 1172 // Enables tab detaching in fullscreen mode on Mac.
1176 const char kEnableFullscreenTabDetaching[] = "enable-fullscreen-tab-detaching"; 1173 const char kEnableFullscreenTabDetaching[] = "enable-fullscreen-tab-detaching";
1177 1174
1178 // Allows hosted apps to be opened in windows on Mac. 1175 // Allows hosted apps to be opened in windows on Mac.
1179 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows"; 1176 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows";
1180 1177
1181 // Enables use of toolkit-views based native app windows. 1178 // Enables use of toolkit-views based native app windows.
1182 const char kEnableMacViewsNativeAppWindows[] = 1179 const char kEnableMacViewsNativeAppWindows[] =
1183 "enable-mac-views-native-app-windows"; 1180 "enable-mac-views-native-app-windows";
1184 1181
1185 // Causes Chrome to use an equivalent toolkit-views version of a browser dialog 1182 // Causes Chrome to use an equivalent toolkit-views version of a browser dialog
1186 // when available, rather than a Cocoa one. 1183 // when available, rather than a Cocoa one.
1187 const char kEnableMacViewsDialogs[] = "enable-mac-views-dialogs"; 1184 const char kEnableMacViewsDialogs[] = "enable-mac-views-dialogs";
1188 1185
1189 // Enables save password prompt bubble.
1190 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
1191
1192 // Enables Translate experimental new UX which replaces the infobar. 1186 // Enables Translate experimental new UX which replaces the infobar.
1193 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; 1187 const char kEnableTranslateNewUX[] = "enable-translate-new-ux";
1194 1188
1195 // This is how the metrics client ID is passed from the browser process to its 1189 // This is how the metrics client ID is passed from the browser process to its
1196 // children. With Crashpad, the metrics client ID is distinct from the crash 1190 // children. With Crashpad, the metrics client ID is distinct from the crash
1197 // client ID. 1191 // client ID.
1198 const char kMetricsClientID[] = "metrics-client-id"; 1192 const char kMetricsClientID[] = "metrics-client-id";
1199 1193
1200 // A process type (switches::kProcessType) that relaunches the browser. See 1194 // A process type (switches::kProcessType) that relaunches the browser. See
1201 // chrome/browser/mac/relauncher.h. 1195 // chrome/browser/mac/relauncher.h.
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 1357
1364 // ----------------------------------------------------------------------------- 1358 // -----------------------------------------------------------------------------
1365 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1359 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1366 // 1360 //
1367 // You were going to just dump your switches here, weren't you? Instead, please 1361 // You were going to just dump your switches here, weren't you? Instead, please
1368 // put them in alphabetical order above, or in order inside the appropriate 1362 // put them in alphabetical order above, or in order inside the appropriate
1369 // ifdef at the bottom. The order should match the header. 1363 // ifdef at the bottom. The order should match the header.
1370 // ----------------------------------------------------------------------------- 1364 // -----------------------------------------------------------------------------
1371 1365
1372 } // namespace switches 1366 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698