OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 | 172 |
173 // Disable several subsystems which run network requests in the background. | 173 // Disable several subsystems which run network requests in the background. |
174 // This is for use when doing network performance testing to avoid noise | 174 // This is for use when doing network performance testing to avoid noise |
175 // in the measurements. | 175 // in the measurements. |
176 const char kDisableBackgroundNetworking[] = "disable-background-networking"; | 176 const char kDisableBackgroundNetworking[] = "disable-background-networking"; |
177 | 177 |
178 // Disable limits on the number of backing stores. Can prevent blinking for | 178 // Disable limits on the number of backing stores. Can prevent blinking for |
179 // users with many windows/tabs and lots of memory. | 179 // users with many windows/tabs and lots of memory. |
180 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 180 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
181 | 181 |
| 182 // Disables blocked content warning animation. Currently shows animation for |
| 183 // blocked pop-ups only. |
| 184 const char kDisableBlockContentAnimation[] = |
| 185 "disable-blocked-content-animation"; |
| 186 |
182 // Disables establishing a backup TCP connection if a specified timeout is | 187 // Disables establishing a backup TCP connection if a specified timeout is |
183 // exceeded. | 188 // exceeded. |
184 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; | 189 const char kDisableConnectBackupJobs[] = "disable-connect-backup-jobs"; |
185 | 190 |
186 // Disable requests that webkit labels TargetIsPrefetch. As of | 191 // Disable requests that webkit labels TargetIsPrefetch. As of |
187 // writing only <link rel=prefetch...> but also eventually | 192 // writing only <link rel=prefetch...> but also eventually |
188 // Link: headers. | 193 // Link: headers. |
189 const char kDisableContentPrefetch[] = "disable-content-prefetch"; | 194 const char kDisableContentPrefetch[] = "disable-content-prefetch"; |
190 | 195 |
191 // Disables the custom JumpList on Windows 7. | 196 // Disables the custom JumpList on Windows 7. |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; | 413 const char kEnableAeroPeekTabs[] = "enable-aero-peek-tabs"; |
409 | 414 |
410 // Enable the inclusion of non-standard ports when generating the Kerberos SPN | 415 // Enable the inclusion of non-standard ports when generating the Kerberos SPN |
411 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN | 416 // in response to a Negotiate challenge. See HttpAuthHandlerNegotiate::CreateSPN |
412 // for more background. | 417 // for more background. |
413 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; | 418 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; |
414 | 419 |
415 // Enables the benchmarking extensions. | 420 // Enables the benchmarking extensions. |
416 const char kEnableBenchmarking[] = "enable-benchmarking"; | 421 const char kEnableBenchmarking[] = "enable-benchmarking"; |
417 | 422 |
418 // Enables blocked content warning animation. Currently shows animation for | |
419 // blocked pop-ups only. | |
420 const char kEnableBlockContentAnimation[] = "enable-blocked-content-animation"; | |
421 | |
422 // In the browser process this switch is used to enable or disable the | 423 // In the browser process this switch is used to enable or disable the |
423 // client-side phishing detection. In the renderer this switch is only enabled | 424 // client-side phishing detection. In the renderer this switch is only enabled |
424 // if this switch is enabled in the browser and the user has opted in to UMA | 425 // if this switch is enabled in the browser and the user has opted in to UMA |
425 // stats and SafeBrowsing is enabled in the preferences. | 426 // stats and SafeBrowsing is enabled in the preferences. |
426 const char kEnableClientSidePhishingDetection[] = | 427 const char kEnableClientSidePhishingDetection[] = |
427 "enable-client-side-phishing-detection"; | 428 "enable-client-side-phishing-detection"; |
428 | 429 |
429 // This flag enables UI for clearing server data. Temporarily in place | 430 // This flag enables UI for clearing server data. Temporarily in place |
430 // until there's a server endpoint deployed. | 431 // until there's a server endpoint deployed. |
431 const char kEnableClearServerData[] = "enable-clear-server-data"; | 432 const char kEnableClearServerData[] = "enable-clear-server-data"; |
(...skipping 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1367 | 1368 |
1368 // ----------------------------------------------------------------------------- | 1369 // ----------------------------------------------------------------------------- |
1369 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1370 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1370 // | 1371 // |
1371 // You were going to just dump your switches here, weren't you? Instead, | 1372 // You were going to just dump your switches here, weren't you? Instead, |
1372 // please put them in alphabetical order above, or in order inside the | 1373 // please put them in alphabetical order above, or in order inside the |
1373 // appropriate ifdef at the bottom. The order should match the header. | 1374 // appropriate ifdef at the bottom. The order should match the header. |
1374 // ----------------------------------------------------------------------------- | 1375 // ----------------------------------------------------------------------------- |
1375 | 1376 |
1376 } // namespace switches | 1377 } // namespace switches |
OLD | NEW |