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