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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; | 555 const char kEnableThumbnailRetargeting[] = "enable-thumbnail-retargeting"; |
552 | 556 |
553 // Enables Alternate-Protocol when the port is user controlled (> 1024). | 557 // Enables Alternate-Protocol when the port is user controlled (> 1024). |
554 const char kEnableUserAlternateProtocolPorts[] = | 558 const char kEnableUserAlternateProtocolPorts[] = |
555 "enable-user-controlled-alternate-protocol-ports"; | 559 "enable-user-controlled-alternate-protocol-ports"; |
556 | 560 |
557 // Enables a new "web app" style frame for hosted apps (including bookmark | 561 // Enables a new "web app" style frame for hosted apps (including bookmark |
558 // apps). | 562 // apps). |
559 const char kEnableWebAppFrame[] = "enable-web-app-frame"; | 563 const char kEnableWebAppFrame[] = "enable-web-app-frame"; |
560 | 564 |
| 565 // Enables Web Notification custom layouts. |
| 566 const char kEnableWebNotificationCustomLayouts[] = |
| 567 "enable-web-notification-custom-layouts"; |
| 568 |
561 // Enables webusb notifications, which shows notifications when usb devices with | 569 // Enables webusb notifications, which shows notifications when usb devices with |
562 // landing page are plugged in. | 570 // landing page are plugged in. |
563 const char kEnableWebUsbNotifications[] = "enable-webusb-notifications"; | 571 const char kEnableWebUsbNotifications[] = "enable-webusb-notifications"; |
564 | 572 |
565 // Bypasses the WebUSB permission prompt as it is not yet implemented. | 573 // Bypasses the WebUSB permission prompt as it is not yet implemented. |
566 // crbug.com/529950 | 574 // crbug.com/529950 |
567 const char kEnableWebUsbOnAnyOrigin[] = "enable-webusb-on-any-origin"; | 575 const char kEnableWebUsbOnAnyOrigin[] = "enable-webusb-on-any-origin"; |
568 | 576 |
569 // Enables synchronizing WiFi credentials across devices, using Chrome Sync. | 577 // Enables synchronizing WiFi credentials across devices, using Chrome Sync. |
570 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync"; | 578 const char kEnableWifiCredentialSync[] = "enable-wifi-credential-sync"; |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1391 | 1399 |
1392 // ----------------------------------------------------------------------------- | 1400 // ----------------------------------------------------------------------------- |
1393 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1401 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
1394 // | 1402 // |
1395 // You were going to just dump your switches here, weren't you? Instead, please | 1403 // You were going to just dump your switches here, weren't you? Instead, please |
1396 // put them in alphabetical order above, or in order inside the appropriate | 1404 // put them in alphabetical order above, or in order inside the appropriate |
1397 // ifdef at the bottom. The order should match the header. | 1405 // ifdef at the bottom. The order should match the header. |
1398 // ----------------------------------------------------------------------------- | 1406 // ----------------------------------------------------------------------------- |
1399 | 1407 |
1400 } // namespace switches | 1408 } // namespace switches |
OLD | NEW |