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

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

Issue 22342005: Add --enable-html-imports commandline switch and about-flags entry. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« 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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 239
240 // Enables Web MIDI API. 240 // Enables Web MIDI API.
241 const char kEnableWebMIDI[] = "enable-web-midi"; 241 const char kEnableWebMIDI[] = "enable-web-midi";
242 242
243 // Don't enforce the same-origin policy. (Used by people testing their sites.) 243 // Don't enforce the same-origin policy. (Used by people testing their sites.)
244 const char kDisableWebSecurity[] = "disable-web-security"; 244 const char kDisableWebSecurity[] = "disable-web-security";
245 245
246 // Enable an experimental WebSocket implementation. 246 // Enable an experimental WebSocket implementation.
247 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; 247 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket";
248 248
249 // Enable HTML Imports
250 extern const char kEnableHTMLImports[] = "enable-html-imports";
251
249 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. 252 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS.
250 const char kDisableXSSAuditor[] = "disable-xss-auditor"; 253 const char kDisableXSSAuditor[] = "disable-xss-auditor";
251 254
252 // Specifies if the |DOMAutomationController| needs to be bound in the 255 // Specifies if the |DOMAutomationController| needs to be bound in the
253 // renderer. This binding happens on per-frame basis and hence can potentially 256 // renderer. This binding happens on per-frame basis and hence can potentially
254 // be a performance bottleneck. One should only enable it when automating dom 257 // be a performance bottleneck. One should only enable it when automating dom
255 // based tests. 258 // based tests.
256 const char kDomAutomationController[] = "dom-automation"; 259 const char kDomAutomationController[] = "dom-automation";
257 260
258 // Specifies if the |StatsCollectionController| needs to be bound in the 261 // Specifies if the |StatsCollectionController| needs to be bound in the
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; 909 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions";
907 910
908 // Enables/disables accelerated compositing for backgrounds of root layers with 911 // Enables/disables accelerated compositing for backgrounds of root layers with
909 // background-attachment: fixed. Requires kForceCompositingMode. 912 // background-attachment: fixed. Requires kForceCompositingMode.
910 const char kDisableAcceleratedFixedRootBackground[] = 913 const char kDisableAcceleratedFixedRootBackground[] =
911 "disable-accelerated-fixed-root-background"; 914 "disable-accelerated-fixed-root-background";
912 const char kEnableAcceleratedFixedRootBackground[] = 915 const char kEnableAcceleratedFixedRootBackground[] =
913 "enable-accelerated-fixed-root-background"; 916 "enable-accelerated-fixed-root-background";
914 917
915 } // namespace switches 918 } // 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