OLD | NEW |
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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 // Disables syncing browser data to a Google Account. | 338 // Disables syncing browser data to a Google Account. |
339 const char kDisableSync[] = "disable-sync"; | 339 const char kDisableSync[] = "disable-sync"; |
340 | 340 |
341 // Disables syncing one or more sync data types that are on by default. | 341 // Disables syncing one or more sync data types that are on by default. |
342 // See sync/internal_api/public/base/model_type.h for possible types. Types | 342 // See sync/internal_api/public/base/model_type.h for possible types. Types |
343 // should be comma separated, and follow the naming convention for string | 343 // should be comma separated, and follow the naming convention for string |
344 // representation of model types, e.g.: | 344 // representation of model types, e.g.: |
345 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles' | 345 // --disable-synctypes='Typed URLs, Bookmarks, Autofill Profiles' |
346 const char kDisableSyncTypes[] = "disable-sync-types"; | 346 const char kDisableSyncTypes[] = "disable-sync-types"; |
347 | 347 |
| 348 // Disables Web Notification custom layouts. |
| 349 const char kDisableWebNotificationCustomLayouts[] = |
| 350 "disable-web-notification-custom-layouts"; |
| 351 |
348 // Disables the backend service for web resources. | 352 // Disables the backend service for web resources. |
349 const char kDisableWebResources[] = "disable-web-resources"; | 353 const char kDisableWebResources[] = "disable-web-resources"; |
350 | 354 |
351 // Some tests seem to require the application to close when the last | 355 // Some tests seem to require the application to close when the last |
352 // browser window is closed. Thus, we need a switch to force this behavior | 356 // browser window is closed. Thus, we need a switch to force this behavior |
353 // for ChromeOS Aura, disable "zero window mode". | 357 // for ChromeOS Aura, disable "zero window mode". |
354 // TODO(pkotwicz): Investigate if this bug can be removed. | 358 // TODO(pkotwicz): Investigate if this bug can be removed. |
355 // (http://crbug.com/119175) | 359 // (http://crbug.com/119175) |
356 const char kDisableZeroBrowsersOpenForTests[] = | 360 const char kDisableZeroBrowsersOpenForTests[] = |
357 "disable-zero-browsers-open-for-tests"; | 361 "disable-zero-browsers-open-for-tests"; |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; | 554 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; |
551 | 555 |
552 // Enables Alternate-Protocol when the port is user controlled (> 1024). | 556 // Enables Alternate-Protocol when the port is user controlled (> 1024). |
553 const char kEnableUserAlternateProtocolPorts[] = | 557 const char kEnableUserAlternateProtocolPorts[] = |
554 "enable-user-controlled-alternate-protocol-ports"; | 558 "enable-user-controlled-alternate-protocol-ports"; |
555 | 559 |
556 // Enables a new "web app" style frame for hosted apps (including bookmark | 560 // Enables a new "web app" style frame for hosted apps (including bookmark |
557 // apps). | 561 // apps). |
558 const char kEnableWebAppFrame[] = "enable-web-app-frame"; | 562 const char kEnableWebAppFrame[] = "enable-web-app-frame"; |
559 | 563 |
| 564 // Enables Web Notification custom layouts. |
| 565 const char kEnableWebNotificationCustomLayouts[] = |
| 566 "enable-web-notification-custom-layouts"; |
| 567 |
560 // Enables webusb notifications, which shows notifications when usb devices with | 568 // Enables webusb notifications, which shows notifications when usb devices with |
561 // landing page are plugged in. | 569 // landing page are plugged in. |
562 const char kEnableWebUsbNotifications[] = "enable-webusb-notifications"; | 570 const char kEnableWebUsbNotifications[] = "enable-webusb-notifications"; |
563 | 571 |
564 // Bypasses the WebUSB permission prompt as it is not yet implemented. | 572 // Bypasses the WebUSB permission prompt as it is not yet implemented. |
565 // crbug.com/529950 | 573 // crbug.com/529950 |
566 const char kEnableWebUsbOnAnyOrigin[] = "enable-webusb-on-any-origin"; | 574 const char kEnableWebUsbOnAnyOrigin[] = "enable-webusb-on-any-origin"; |
567 | 575 |
568 // Enables synchronizing WiFi credentials across devices, using Chrome Sync. | 576 // Enables synchronizing WiFi credentials across devices, using Chrome Sync. |
569 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync"; | 577 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync"; |
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1419 | 1427 |
1420 // ----------------------------------------------------------------------------- | 1428 // ----------------------------------------------------------------------------- |
1421 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1429 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1422 // | 1430 // |
1423 // You were going to just dump your switches here, weren't you? Instead, please | 1431 // You were going to just dump your switches here, weren't you? Instead, please |
1424 // put them in alphabetical order above, or in order inside the appropriate | 1432 // put them in alphabetical order above, or in order inside the appropriate |
1425 // ifdef at the bottom. The order should match the header. | 1433 // ifdef at the bottom. The order should match the header. |
1426 // ----------------------------------------------------------------------------- | 1434 // ----------------------------------------------------------------------------- |
1427 | 1435 |
1428 } // namespace switches | 1436 } // namespace switches |
OLD | NEW |