| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 | 235 |
| 236 // Enable an experimental WebSocket implementation. | 236 // Enable an experimental WebSocket implementation. |
| 237 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; | 237 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; |
| 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. Also enables sending/receiving renderer automation messages | 245 // based tests. |
| 246 // through the |AutomationRenderViewHelper|. | |
| 247 // | |
| 248 // TODO(kkania): Rename this to enable-renderer-automation after moving the | |
| 249 // |DOMAutomationController| to the |AutomationRenderViewHelper|. | |
| 250 const char kDomAutomationController[] = "dom-automation"; | 246 const char kDomAutomationController[] = "dom-automation"; |
| 251 | 247 |
| 252 // Loosen security. Needed for tests using some of the functionality of | 248 // Loosen security. Needed for tests using some of the functionality of |
| 253 // |DOMAutomationController|. | 249 // |DOMAutomationController|. |
| 254 const char kReduceSecurityForDomAutomationTests[] = | 250 const char kReduceSecurityForDomAutomationTests[] = |
| 255 "reduce-security-for-dom-automation-tests"; | 251 "reduce-security-for-dom-automation-tests"; |
| 256 | 252 |
| 257 // Enable hardware accelerated page painting. | 253 // Enable hardware accelerated page painting. |
| 258 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; | 254 const char kEnableAcceleratedPainting[] = "enable-accelerated-painting"; |
| 259 | 255 |
| (...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 const char kOverscrollHistoryNavigation[] = | 832 const char kOverscrollHistoryNavigation[] = |
| 837 "overscroll-history-navigation"; | 833 "overscroll-history-navigation"; |
| 838 | 834 |
| 839 // Forward overscroll event data from the renderer to the browser. | 835 // Forward overscroll event data from the renderer to the browser. |
| 840 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 836 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 841 | 837 |
| 842 // Enables 'image/webp' accept header for image requests. | 838 // Enables 'image/webp' accept header for image requests. |
| 843 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 839 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 844 | 840 |
| 845 } // namespace switches | 841 } // namespace switches |
| OLD | NEW |