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 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
735 // | 735 // |
736 // Unlike --enable-strict-site-isolation (which allows cross-site iframes), | 736 // Unlike --enable-strict-site-isolation (which allows cross-site iframes), |
737 // this flag blocks cross-site documents even in iframes, until out-of-process | 737 // this flag blocks cross-site documents even in iframes, until out-of-process |
738 // iframe support is available. Cross-site network requests do attach the | 738 // iframe support is available. Cross-site network requests do attach the |
739 // normal set of cookies, but a renderer process is only allowed to view or | 739 // normal set of cookies, but a renderer process is only allowed to view or |
740 // modify cookies for its own site (via JavaScript). | 740 // modify cookies for its own site (via JavaScript). |
741 // TODO(irobert): Implement the cross-site document blocking in | 741 // TODO(irobert): Implement the cross-site document blocking in |
742 // http://crbug.com/159215. | 742 // http://crbug.com/159215. |
743 const char kSitePerProcess[] = "site-per-process"; | 743 const char kSitePerProcess[] = "site-per-process"; |
744 | 744 |
745 // Skip gpu info collection, blacklist loading, and blacklist auto-update | |
746 // scheduling at browser startup time. | |
747 // Therefore, all GPU features are available, and about:gpu page shows empty | |
748 // content. The switch is intended only for tests. | |
749 const char kSkipGpuDataLoading[] = "skip-gpu-data-loading"; | |
750 | |
751 // Specifies the request key for the continuous speech recognition webservice. | 745 // Specifies the request key for the continuous speech recognition webservice. |
752 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; | 746 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; |
753 | 747 |
754 // Specifies if the |StatsCollectionController| needs to be bound in the | 748 // Specifies if the |StatsCollectionController| needs to be bound in the |
755 // renderer. This binding happens on per-frame basis and hence can potentially | 749 // renderer. This binding happens on per-frame basis and hence can potentially |
756 // be a performance bottleneck. One should only enable it when running a test | 750 // be a performance bottleneck. One should only enable it when running a test |
757 // that needs to access the provided statistics. | 751 // that needs to access the provided statistics. |
758 const char kStatsCollectionController[] = | 752 const char kStatsCollectionController[] = |
759 "enable-stats-collection-bindings"; | 753 "enable-stats-collection-bindings"; |
760 | 754 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 // Forces usage of the test compositor. Needed to run ui tests on bots. | 928 // Forces usage of the test compositor. Needed to run ui tests on bots. |
935 extern const char kTestCompositor[] = "test-compositor"; | 929 extern const char kTestCompositor[] = "test-compositor"; |
936 #endif | 930 #endif |
937 | 931 |
938 // Don't dump stuff here, follow the same order as the header. | 932 // Don't dump stuff here, follow the same order as the header. |
939 | 933 |
940 // Allows filters (SkImageFilter objects) to be sent between processes over IPC | 934 // Allows filters (SkImageFilter objects) to be sent between processes over IPC |
941 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; | 935 const char kAllowFiltersOverIPC[] = "allow-filters-over-ipc"; |
942 | 936 |
943 } // namespace switches | 937 } // namespace switches |
OLD | NEW |