Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Side by Side Diff: content/public/common/content_switches.cc

Issue 13936002: Add a runtime flag to enable an experimental WebSocket implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix a command line parameter name Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // WebRTC is enabled by default on Android. 211 // WebRTC is enabled by default on Android.
212 const char kDisableWebRTC[] = "disable-webrtc"; 212 const char kDisableWebRTC[] = "disable-webrtc";
213 #else 213 #else
214 // Disable web audio API. 214 // Disable web audio API.
215 const char kDisableWebAudio[] = "disable-webaudio"; 215 const char kDisableWebAudio[] = "disable-webaudio";
216 #endif 216 #endif
217 217
218 // Don't enforce the same-origin policy. (Used by people testing their sites.) 218 // Don't enforce the same-origin policy. (Used by people testing their sites.)
219 const char kDisableWebSecurity[] = "disable-web-security"; 219 const char kDisableWebSecurity[] = "disable-web-security";
220 220
221 // Enable an experimental WebSocket implementation.
222 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket";
223
221 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. 224 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS.
222 const char kDisableXSSAuditor[] = "disable-xss-auditor"; 225 const char kDisableXSSAuditor[] = "disable-xss-auditor";
223 226
224 // Specifies if the |DOMAutomationController| needs to be bound in the 227 // Specifies if the |DOMAutomationController| needs to be bound in the
225 // renderer. This binding happens on per-frame basis and hence can potentially 228 // renderer. This binding happens on per-frame basis and hence can potentially
226 // be a performance bottleneck. One should only enable it when automating dom 229 // be a performance bottleneck. One should only enable it when automating dom
227 // based tests. Also enables sending/receiving renderer automation messages 230 // based tests. Also enables sending/receiving renderer automation messages
228 // through the |AutomationRenderViewHelper|. 231 // through the |AutomationRenderViewHelper|.
229 // 232 //
230 // TODO(kkania): Rename this to enable-renderer-automation after moving the 233 // TODO(kkania): Rename this to enable-renderer-automation after moving the
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
768 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 771 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
769 772
770 // Use a vsync signal from the browser to the renderer to schedule rendering. 773 // Use a vsync signal from the browser to the renderer to schedule rendering.
771 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 774 const char kEnableVsyncNotification[] = "enable-vsync-notification";
772 775
773 // Enables history navigation in response to horizontal overscroll. 776 // Enables history navigation in response to horizontal overscroll.
774 const char kEnableOverscrollHistoryNavigation[] = 777 const char kEnableOverscrollHistoryNavigation[] =
775 "enable-overscroll-history-navigation"; 778 "enable-overscroll-history-navigation";
776 779
777 } // namespace switches 780 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698