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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 | 238 |
239 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 239 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
240 const char kDisableXSSAuditor[] = "disable-xss-auditor"; | 240 const char kDisableXSSAuditor[] = "disable-xss-auditor"; |
241 | 241 |
242 // Specifies if the |DOMAutomationController| needs to be bound in the | 242 // Specifies if the |DOMAutomationController| needs to be bound in the |
243 // renderer. This binding happens on per-frame basis and hence can potentially | 243 // renderer. This binding happens on per-frame basis and hence can potentially |
244 // be a performance bottleneck. One should only enable it when automating dom | 244 // be a performance bottleneck. One should only enable it when automating dom |
245 // based tests. | 245 // based tests. |
246 const char kDomAutomationController[] = "dom-automation"; | 246 const char kDomAutomationController[] = "dom-automation"; |
247 | 247 |
248 // Loosen security. Needed for tests using some of the functionality of | |
249 // |DOMAutomationController|. | |
250 const char kReduceSecurityForStatsCollectionTests[] = | |
251 "reduce-security-for-stats-collection-tests"; | |
252 | |
253 // Specifies if the |StatsCollectionController| needs to be bound in the | 248 // Specifies if the |StatsCollectionController| needs to be bound in the |
254 // renderer. This binding happens on per-frame basis and hence can potentially | 249 // renderer. This binding happens on per-frame basis and hence can potentially |
255 // be a performance bottleneck. One should only enable it when running a test | 250 // be a performance bottleneck. One should only enable it when running a test |
256 // that needs to access the provided statistics. | 251 // that needs to access the provided statistics. |
257 const char kStatsCollectionController[] = | 252 const char kStatsCollectionController[] = |
258 "enable-stats-collection-bindings"; | 253 "enable-stats-collection-bindings"; |
259 | 254 |
260 // Enable gpu-accelerated SVG/W3C filters. | 255 // Enable gpu-accelerated SVG/W3C filters. |
261 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; | 256 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; |
262 | 257 |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 const char kOverscrollHistoryNavigation[] = | 831 const char kOverscrollHistoryNavigation[] = |
837 "overscroll-history-navigation"; | 832 "overscroll-history-navigation"; |
838 | 833 |
839 // Forward overscroll event data from the renderer to the browser. | 834 // Forward overscroll event data from the renderer to the browser. |
840 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 835 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
841 | 836 |
842 // Enables 'image/webp' accept header for image requests. | 837 // Enables 'image/webp' accept header for image requests. |
843 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 838 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
844 | 839 |
845 } // namespace switches | 840 } // namespace switches |
OLD | NEW |