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 | |
630 // GestureTapDown events are deferred by this many miillseconds before | 627 // GestureTapDown events are deferred by this many miillseconds before |
631 // sending them to the renderer. | 628 // sending them to the renderer. |
632 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; | 629 const char kTapDownDeferralTimeMs[] = "tap-down-deferral-time"; |
633 | 630 |
634 // Runs the security test for the renderer sandbox. | 631 // Runs the security test for the renderer sandbox. |
635 const char kTestSandbox[] = "test-sandbox"; | 632 const char kTestSandbox[] = "test-sandbox"; |
636 | 633 |
637 // Allows for forcing socket connections to http/https to use fixed ports. | 634 // Allows for forcing socket connections to http/https to use fixed ports. |
638 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; | 635 const char kTestingFixedHttpPort[] = "testing-fixed-http-port"; |
639 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; | 636 const char kTestingFixedHttpsPort[] = "testing-fixed-https-port"; |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
764 = "disable-fixed-position-creates-stacking-context"; | 761 = "disable-fixed-position-creates-stacking-context"; |
765 | 762 |
766 // Defer image decoding in WebKit until painting. | 763 // Defer image decoding in WebKit until painting. |
767 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 764 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
768 | 765 |
769 // Enables history navigation in response to horizontal overscroll. | 766 // Enables history navigation in response to horizontal overscroll. |
770 const char kEnableOverscrollHistoryNavigation[] = | 767 const char kEnableOverscrollHistoryNavigation[] = |
771 "enable-overscroll-history-navigation"; | 768 "enable-overscroll-history-navigation"; |
772 | 769 |
773 } // namespace switches | 770 } // namespace switches |
OLD | NEW |