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

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

Issue 1313383006: Don't compile save_password_infobar_delegate.cc everywhere but Mac and Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase against ToT Created 5 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/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 9
10 namespace switches { 10 namespace switches {
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 // disable that check. This switch is used during automated testing. 321 // disable that check. This switch is used during automated testing.
322 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; 322 const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
323 323
324 // Disables support for the QUIC protocol. 324 // Disables support for the QUIC protocol.
325 const char kDisableQuic[] = "disable-quic"; 325 const char kDisableQuic[] = "disable-quic";
326 326
327 // Disable use of Chromium's port selection for the ephemeral port via bind(). 327 // Disable use of Chromium's port selection for the ephemeral port via bind().
328 // This only has an effect if QUIC protocol is enabled. 328 // This only has an effect if QUIC protocol is enabled.
329 const char kDisableQuicPortSelection[] = "disable-quic-port-selection"; 329 const char kDisableQuicPortSelection[] = "disable-quic-port-selection";
330 330
331 // Prevents the save password bubble from being enabled.
332 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble";
333
334 // Prevents SDCH persistence from being used. 331 // Prevents SDCH persistence from being used.
335 const char kDisableSdchPersistence[] = "disable-sdch-persistence"; 332 const char kDisableSdchPersistence[] = "disable-sdch-persistence";
336 333
337 // Disables using bubbles for session restore request. 334 // Disables using bubbles for session restore request.
338 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble"; 335 const char kDisableSessionCrashedBubble[] = "disable-session-crashed-bubble";
339 336
340 // Disables the Site Engagement service, which records interaction with sites 337 // Disables the Site Engagement service, which records interaction with sites
341 // and allocates certain resources accordingly. 338 // and allocates certain resources accordingly.
342 const char kDisableSiteEngagementService[] = "disable-site-engagement-service"; 339 const char kDisableSiteEngagementService[] = "disable-site-engagement-service";
343 340
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
515 // Enables support for the QUIC protocol. This is a temporary testing flag. 512 // Enables support for the QUIC protocol. This is a temporary testing flag.
516 const char kEnableQuic[] = "enable-quic"; 513 const char kEnableQuic[] = "enable-quic";
517 514
518 // Enable use of Chromium's port selection for the ephemeral port via bind(). 515 // Enable use of Chromium's port selection for the ephemeral port via bind().
519 // This only has an effect if QUIC protocol is enabled. 516 // This only has an effect if QUIC protocol is enabled.
520 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; 517 const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
521 518
522 // Enables support for HTTP alternative services. 519 // Enables support for HTTP alternative services.
523 const char kEnableAlternativeServices[] = "enable-alternative-services"; 520 const char kEnableAlternativeServices[] = "enable-alternative-services";
524 521
525 // Enables save password prompt bubble.
526 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
527
528 // Enables SDCH persistence. 522 // Enables SDCH persistence.
529 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; 523 const char kEnableSdchPersistence[] = "enable-sdch-persistence";
530 524
531 // Enables using bubbles for session restore request instead of infobars. 525 // Enables using bubbles for session restore request instead of infobars.
532 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; 526 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble";
533 527
534 // Enable or disable settings in a separate browser window per profile 528 // Enable or disable settings in a separate browser window per profile
535 // (see SettingsWindowEnabled() below). 529 // (see SettingsWindowEnabled() below).
536 const char kEnableSettingsWindow[] = "enable-settings-window"; 530 const char kEnableSettingsWindow[] = "enable-settings-window";
537 const char kDisableSettingsWindow[] = "disable-settings-window"; 531 const char kDisableSettingsWindow[] = "disable-settings-window";
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after
1212 // Disables app shim creation for hosted apps on Mac. 1206 // Disables app shim creation for hosted apps on Mac.
1213 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; 1207 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation";
1214 1208
1215 // Prevents hosted apps from being opened in windows on Mac. 1209 // Prevents hosted apps from being opened in windows on Mac.
1216 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows"; 1210 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows";
1217 1211
1218 // Disables use of toolkit-views based native app windows. 1212 // Disables use of toolkit-views based native app windows.
1219 const char kDisableMacViewsNativeAppWindows[] = 1213 const char kDisableMacViewsNativeAppWindows[] =
1220 "disable-mac-views-native-app-windows"; 1214 "disable-mac-views-native-app-windows";
1221 1215
1216 // Prevents the save password bubble from being enabled.
1217 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble";
1218
1222 // Disables Translate experimental new UX which replaces the infobar. 1219 // Disables Translate experimental new UX which replaces the infobar.
1223 const char kDisableTranslateNewUX[] = "disable-translate-new-ux"; 1220 const char kDisableTranslateNewUX[] = "disable-translate-new-ux";
1224 1221
1225 // Enable the toolkit-views App Info dialog for Mac. This is accessible from 1222 // Enable the toolkit-views App Info dialog for Mac. This is accessible from
1226 // chrome://apps and chrome://extensions and is already enabled on non-mac. 1223 // chrome://apps and chrome://extensions and is already enabled on non-mac.
1227 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; 1224 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac";
1228 1225
1229 // Enables custom Cmd+` window cycling for platform apps and hosted apps. 1226 // Enables custom Cmd+` window cycling for platform apps and hosted apps.
1230 const char kEnableAppWindowCycling[] = "enable-app-window-cycling"; 1227 const char kEnableAppWindowCycling[] = "enable-app-window-cycling";
1231 1228
1232 // Allows hosted apps to be opened in windows on Mac. 1229 // Allows hosted apps to be opened in windows on Mac.
1233 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows"; 1230 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows";
1234 1231
1235 // Enables use of toolkit-views based native app windows. 1232 // Enables use of toolkit-views based native app windows.
1236 const char kEnableMacViewsNativeAppWindows[] = 1233 const char kEnableMacViewsNativeAppWindows[] =
1237 "enable-mac-views-native-app-windows"; 1234 "enable-mac-views-native-app-windows";
1238 1235
1239 // Causes Chrome to use an equivalent toolkit-views version of a browser dialog 1236 // Causes Chrome to use an equivalent toolkit-views version of a browser dialog
1240 // when available, rather than a Cocoa one. 1237 // when available, rather than a Cocoa one.
1241 const char kEnableMacViewsDialogs[] = "enable-mac-views-dialogs"; 1238 const char kEnableMacViewsDialogs[] = "enable-mac-views-dialogs";
1242 1239
1240 // Enables save password prompt bubble.
1241 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
1242
1243 // Enables Translate experimental new UX which replaces the infobar. 1243 // Enables Translate experimental new UX which replaces the infobar.
1244 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; 1244 const char kEnableTranslateNewUX[] = "enable-translate-new-ux";
1245 1245
1246 // This is how the metrics client ID is passed from the browser process to its 1246 // This is how the metrics client ID is passed from the browser process to its
1247 // children. With Crashpad, the metrics client ID is distinct from the crash 1247 // children. With Crashpad, the metrics client ID is distinct from the crash
1248 // client ID. 1248 // client ID.
1249 const char kMetricsClientID[] = "metrics-client-id"; 1249 const char kMetricsClientID[] = "metrics-client-id";
1250 1250
1251 // A process type (switches::kProcessType) that relaunches the browser. See 1251 // A process type (switches::kProcessType) that relaunches the browser. See
1252 // chrome/browser/mac/relauncher.h. 1252 // chrome/browser/mac/relauncher.h.
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
1381 1381
1382 // ----------------------------------------------------------------------------- 1382 // -----------------------------------------------------------------------------
1383 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1383 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1384 // 1384 //
1385 // You were going to just dump your switches here, weren't you? Instead, please 1385 // You were going to just dump your switches here, weren't you? Instead, please
1386 // put them in alphabetical order above, or in order inside the appropriate 1386 // put them in alphabetical order above, or in order inside the appropriate
1387 // ifdef at the bottom. The order should match the header. 1387 // ifdef at the bottom. The order should match the header.
1388 // ----------------------------------------------------------------------------- 1388 // -----------------------------------------------------------------------------
1389 1389
1390 } // namespace switches 1390 } // 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