| 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 | 248 // Loosen security. Needed for tests using some of the functionality of |
| 249 // |DOMAutomationController|. | 249 // |DOMAutomationController|. |
| 250 const char kReduceSecurityForStatsCollectionTests[] = | 250 const char kReduceSecurityForDomAutomationTests[] = |
| 251 "reduce-security-for-stats-collection-tests"; | 251 "reduce-security-for-dom-automation-tests"; |
| 252 | |
| 253 // Specifies if the |StatsCollectionController| needs to be bound in the | |
| 254 // 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 | |
| 256 // that needs to access the provided statistics. | |
| 257 const char kStatsCollectionController[] = | |
| 258 "enable-stats-collection-bindings"; | |
| 259 | 252 |
| 260 // Enable hardware accelerated page painting. | 253 // Enable hardware accelerated page painting. |
| 261 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; | 254 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; |
| 262 | 255 |
| 263 // Enable gpu-accelerated SVG/W3C filters. | 256 // Enable gpu-accelerated SVG/W3C filters. |
| 264 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; | 257 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; |
| 265 | 258 |
| 266 // Turns on extremely verbose logging of accessibility events. | 259 // Turns on extremely verbose logging of accessibility events. |
| 267 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 260 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
| 268 | 261 |
| (...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 839 const char kOverscrollHistoryNavigation[] = | 832 const char kOverscrollHistoryNavigation[] = |
| 840 "overscroll-history-navigation"; | 833 "overscroll-history-navigation"; |
| 841 | 834 |
| 842 // Forward overscroll event data from the renderer to the browser. | 835 // Forward overscroll event data from the renderer to the browser. |
| 843 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 836 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 844 | 837 |
| 845 // Enables 'image/webp' accept header for image requests. | 838 // Enables 'image/webp' accept header for image requests. |
| 846 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 839 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 847 | 840 |
| 848 } // namespace switches | 841 } // namespace switches |
| OLD | NEW |