| 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 539 // default until going through a formal UX review, and all comments/concerns on | 539 // default until going through a formal UX review, and all comments/concerns on | 
| 540 // the crbug are addressed.  http://crbug.com/290403 | 540 // the crbug are addressed.  http://crbug.com/290403 | 
| 541 const char kEmbedFlashFullscreen[] = "embed-flash-fullscreen"; | 541 const char kEmbedFlashFullscreen[] = "embed-flash-fullscreen"; | 
| 542 | 542 | 
| 543 // Enables the <adview> tag in packaged apps. | 543 // Enables the <adview> tag in packaged apps. | 
| 544 const char kEnableAdview[]                  = "enable-adview"; | 544 const char kEnableAdview[]                  = "enable-adview"; | 
| 545 | 545 | 
| 546 // If set, the app list will be enabled as if enabled from CWS. | 546 // If set, the app list will be enabled as if enabled from CWS. | 
| 547 const char kEnableAppList[]                 = "enable-app-list"; | 547 const char kEnableAppList[]                 = "enable-app-list"; | 
| 548 | 548 | 
| 549 // Enables specifying a "src" attribute on <adview> elements |  | 
| 550 // (for testing purposes, to skip the whitelist). |  | 
| 551 const char kEnableAdviewSrcAttribute[]      = "enable-adview-src-attribute"; |  | 
| 552 |  | 
| 553 // Enables the <window-controls> tag in platform apps. | 549 // Enables the <window-controls> tag in platform apps. | 
| 554 const char kEnableAppWindowControls[]       = "enable-app-window-controls"; | 550 const char kEnableAppWindowControls[]       = "enable-app-window-controls"; | 
| 555 | 551 | 
| 556 // Show apps windows after the first paint. Windows will be shown significantly | 552 // Show apps windows after the first paint. Windows will be shown significantly | 
| 557 // later for heavy apps loading resources synchronously but it will be | 553 // later for heavy apps loading resources synchronously but it will be | 
| 558 // insignificant for apps that load most of their resources asynchronously. | 554 // insignificant for apps that load most of their resources asynchronously. | 
| 559 const char kEnableAppsShowOnFirstPaint[]    = "enable-apps-show-on-first-paint"; | 555 const char kEnableAppsShowOnFirstPaint[]    = "enable-apps-show-on-first-paint"; | 
| 560 | 556 | 
| 561 // Enables the experimental asynchronous DNS client. | 557 // Enables the experimental asynchronous DNS client. | 
| 562 const char kEnableAsyncDns[]                = "enable-async-dns"; | 558 const char kEnableAsyncDns[]                = "enable-async-dns"; | 
| (...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1685 | 1681 | 
| 1686 // ----------------------------------------------------------------------------- | 1682 // ----------------------------------------------------------------------------- | 
| 1687 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1683 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 
| 1688 // | 1684 // | 
| 1689 // You were going to just dump your switches here, weren't you? Instead, please | 1685 // You were going to just dump your switches here, weren't you? Instead, please | 
| 1690 // put them in alphabetical order above, or in order inside the appropriate | 1686 // put them in alphabetical order above, or in order inside the appropriate | 
| 1691 // ifdef at the bottom. The order should match the header. | 1687 // ifdef at the bottom. The order should match the header. | 
| 1692 // ----------------------------------------------------------------------------- | 1688 // ----------------------------------------------------------------------------- | 
| 1693 | 1689 | 
| 1694 }  // namespace switches | 1690 }  // namespace switches | 
| OLD | NEW | 
|---|