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

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: Make a bit refactoring 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
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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 const char kEnablePushApiBackgroundMode[] = "enable-push-api-background-mode"; 509 const char kEnablePushApiBackgroundMode[] = "enable-push-api-background-mode";
513 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode"; 510 const char kDisablePushApiBackgroundMode[] = "disable-push-api-background-mode";
514 511
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 save password prompt bubble.
523 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
524
525 // Enables SDCH persistence. 519 // Enables SDCH persistence.
526 const char kEnableSdchPersistence[] = "enable-sdch-persistence"; 520 const char kEnableSdchPersistence[] = "enable-sdch-persistence";
527 521
528 // Enables using bubbles for session restore request instead of infobars. 522 // Enables using bubbles for session restore request instead of infobars.
529 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble"; 523 const char kEnableSessionCrashedBubble[] = "enable-session-crashed-bubble";
530 524
531 // Enable or disable settings in a separate browser window per profile 525 // Enable or disable settings in a separate browser window per profile
532 // (see SettingsWindowEnabled() below). 526 // (see SettingsWindowEnabled() below).
533 const char kEnableSettingsWindow[] = "enable-settings-window"; 527 const char kEnableSettingsWindow[] = "enable-settings-window";
534 const char kDisableSettingsWindow[] = "disable-settings-window"; 528 const char kDisableSettingsWindow[] = "disable-settings-window";
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 // Disables app shim creation for hosted apps on Mac. 1199 // Disables app shim creation for hosted apps on Mac.
1206 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation"; 1200 const char kDisableHostedAppShimCreation[] = "disable-hosted-app-shim-creation";
1207 1201
1208 // Prevents hosted apps from being opened in windows on Mac. 1202 // Prevents hosted apps from being opened in windows on Mac.
1209 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows"; 1203 const char kDisableHostedAppsInWindows[] = "disable-hosted-apps-in-windows";
1210 1204
1211 // Disables use of toolkit-views based native app windows. 1205 // Disables use of toolkit-views based native app windows.
1212 const char kDisableMacViewsNativeAppWindows[] = 1206 const char kDisableMacViewsNativeAppWindows[] =
1213 "disable-mac-views-native-app-windows"; 1207 "disable-mac-views-native-app-windows";
1214 1208
1209 // Prevents the save password bubble from being enabled.
1210 const char kDisableSavePasswordBubble[] = "disable-save-password-bubble";
1211
1215 // Disables Translate experimental new UX which replaces the infobar. 1212 // Disables Translate experimental new UX which replaces the infobar.
1216 const char kDisableTranslateNewUX[] = "disable-translate-new-ux"; 1213 const char kDisableTranslateNewUX[] = "disable-translate-new-ux";
1217 1214
1218 // Enable the toolkit-views App Info dialog for Mac. This is accessible from 1215 // Enable the toolkit-views App Info dialog for Mac. This is accessible from
1219 // chrome://apps and chrome://extensions and is already enabled on non-mac. 1216 // chrome://apps and chrome://extensions and is already enabled on non-mac.
1220 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac"; 1217 const char kEnableAppInfoDialogMac[] = "enable-app-info-dialog-mac";
1221 1218
1222 // Enables custom Cmd+` window cycling for platform apps and hosted apps. 1219 // Enables custom Cmd+` window cycling for platform apps and hosted apps.
1223 const char kEnableAppWindowCycling[] = "enable-app-window-cycling"; 1220 const char kEnableAppWindowCycling[] = "enable-app-window-cycling";
1224 1221
1225 // Allows hosted apps to be opened in windows on Mac. 1222 // Allows hosted apps to be opened in windows on Mac.
1226 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows"; 1223 const char kEnableHostedAppsInWindows[] = "enable-hosted-apps-in-windows";
1227 1224
1228 // Enables use of toolkit-views based native app windows. 1225 // Enables use of toolkit-views based native app windows.
1229 const char kEnableMacViewsNativeAppWindows[] = 1226 const char kEnableMacViewsNativeAppWindows[] =
1230 "enable-mac-views-native-app-windows"; 1227 "enable-mac-views-native-app-windows";
1231 1228
1232 // Causes Chrome to use an equivalent toolkit-views version of a browser dialog 1229 // Causes Chrome to use an equivalent toolkit-views version of a browser dialog
1233 // when available, rather than a Cocoa one. 1230 // when available, rather than a Cocoa one.
1234 const char kEnableMacViewsDialogs[] = "enable-mac-views-dialogs"; 1231 const char kEnableMacViewsDialogs[] = "enable-mac-views-dialogs";
1235 1232
1233 // Enables save password prompt bubble.
1234 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
1235
1236 // Enables Translate experimental new UX which replaces the infobar. 1236 // Enables Translate experimental new UX which replaces the infobar.
1237 const char kEnableTranslateNewUX[] = "enable-translate-new-ux"; 1237 const char kEnableTranslateNewUX[] = "enable-translate-new-ux";
1238 1238
1239 // This is how the metrics client ID is passed from the browser process to its 1239 // This is how the metrics client ID is passed from the browser process to its
1240 // children. With Crashpad, the metrics client ID is distinct from the crash 1240 // children. With Crashpad, the metrics client ID is distinct from the crash
1241 // client ID. 1241 // client ID.
1242 const char kMetricsClientID[] = "metrics-client-id"; 1242 const char kMetricsClientID[] = "metrics-client-id";
1243 1243
1244 // A process type (switches::kProcessType) that relaunches the browser. See 1244 // A process type (switches::kProcessType) that relaunches the browser. See
1245 // chrome/browser/mac/relauncher.h. 1245 // chrome/browser/mac/relauncher.h.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1370 1370
1371 // ----------------------------------------------------------------------------- 1371 // -----------------------------------------------------------------------------
1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1372 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1373 // 1373 //
1374 // You were going to just dump your switches here, weren't you? Instead, please 1374 // You were going to just dump your switches here, weren't you? Instead, please
1375 // put them in alphabetical order above, or in order inside the appropriate 1375 // put them in alphabetical order above, or in order inside the appropriate
1376 // ifdef at the bottom. The order should match the header. 1376 // ifdef at the bottom. The order should match the header.
1377 // ----------------------------------------------------------------------------- 1377 // -----------------------------------------------------------------------------
1378 1378
1379 } // namespace switches 1379 } // namespace switches
OLDNEW
« chrome/chrome_tests_unit.gypi ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698