| 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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
| 6 | 6 |
| 7 namespace switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
| (...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 // TODO(irobert): Implement the cross-site document blocking in | 617 // TODO(irobert): Implement the cross-site document blocking in |
| 618 // http://crbug.com/159215. | 618 // http://crbug.com/159215. |
| 619 const char kSitePerProcess[] = "site-per-process"; | 619 const char kSitePerProcess[] = "site-per-process"; |
| 620 | 620 |
| 621 // Skip gpu info collection, blacklist loading, and blacklist auto-update | 621 // Skip gpu info collection, blacklist loading, and blacklist auto-update |
| 622 // scheduling at browser startup time. | 622 // scheduling at browser startup time. |
| 623 // Therefore, all GPU features are available, and about:gpu page shows empty | 623 // Therefore, all GPU features are available, and about:gpu page shows empty |
| 624 // content. The switch is intended only for tests. | 624 // content. The switch is intended only for tests. |
| 625 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | 625 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; |
| 626 | 626 |
| 627 // Skip collecting full GPU info upon GPU process launch. |
| 628 const char kSkipGpuFullInfoCollection[] = "skip-gpu-full-info-collection"; |
| 629 |
| 627 // GestureTapDown events are deferred by this many miillseconds before | 630 // GestureTapDown events are deferred by this many miillseconds before |
| 628 // sending them to the renderer. | 631 // sending them to the renderer. |
| 629 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; | 632 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; |
| 630 | 633 |
| 631 // Runs the security test for the renderer sandbox. | 634 // Runs the security test for the renderer sandbox. |
| 632 const char kTestSandbox[] = "test-sandbox"; | 635 const char kTestSandbox[] = "test-sandbox"; |
| 633 | 636 |
| 634 // Allows for forcing socket connections to http/https to use fixed ports. | 637 // Allows for forcing socket connections to http/https to use fixed ports. |
| 635 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 638 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
| 636 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 639 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 761 = "disable-fixed-position-creates-stacking-context"; | 764 = "disable-fixed-position-creates-stacking-context"; |
| 762 | 765 |
| 763 // Defer image decoding in WebKit until painting. | 766 // Defer image decoding in WebKit until painting. |
| 764 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 767 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 765 | 768 |
| 766 // Enables history navigation in response to horizontal overscroll. | 769 // Enables history navigation in response to horizontal overscroll. |
| 767 const char kEnableOverscrollHistoryNavigation[] = | 770 const char kEnableOverscrollHistoryNavigation[] = |
| 768 "enable-overscroll-history-navigation"; | 771 "enable-overscroll-history-navigation"; |
| 769 | 772 |
| 770 } // namespace switches | 773 } // namespace switches |
| OLD | NEW |