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 kReduceSecurityForDomAutomationTests[] = | 250 const char kReduceSecurityForStatsCollectionTests[] = |
251 "reduce-security-for-dom-automation-tests"; | 251 "reduce-security-for-stats-collection-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"; |
252 | 259 |
253 // Enable gpu-accelerated SVG/W3C filters. | 260 // Enable gpu-accelerated SVG/W3C filters. |
254 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; | 261 const char kEnableAcceleratedFilters[] = "enable-accelerated-filters"; |
255 | 262 |
256 // Turns on extremely verbose logging of accessibility events. | 263 // Turns on extremely verbose logging of accessibility events. |
257 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; | 264 const char kEnableAccessibilityLogging[] = "enable-accessibility-logging"; |
258 | 265 |
259 // Enable notifications of audible/silent audio output from a render view. | 266 // Enable notifications of audible/silent audio output from a render view. |
260 // | 267 // |
261 // TODO(miu): Remove --enable-audible-notifications once the feature goes | 268 // TODO(miu): Remove --enable-audible-notifications once the feature goes |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
829 const char kOverscrollHistoryNavigation[] = | 836 const char kOverscrollHistoryNavigation[] = |
830 "overscroll-history-navigation"; | 837 "overscroll-history-navigation"; |
831 | 838 |
832 // Forward overscroll event data from the renderer to the browser. | 839 // Forward overscroll event data from the renderer to the browser. |
833 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 840 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
834 | 841 |
835 // Enables 'image/webp' accept header for image requests. | 842 // Enables 'image/webp' accept header for image requests. |
836 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 843 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
837 | 844 |
838 } // namespace switches | 845 } // namespace switches |
OLD | NEW |