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

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

Issue 547373002: Add a command line option and a Finch experiment for script streaming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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') | content/public/common/web_preferences.h » ('j') | 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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 8
9 namespace switches { 9 namespace switches {
10 10
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 // Enable tracing during the execution of browser tests. 449 // Enable tracing during the execution of browser tests.
450 const char kEnableTracing[] = "enable-tracing"; 450 const char kEnableTracing[] = "enable-tracing";
451 451
452 // The filename to write the output of the test tracing to. 452 // The filename to write the output of the test tracing to.
453 const char kEnableTracingOutput[] = "enable-tracing-output"; 453 const char kEnableTracingOutput[] = "enable-tracing-output";
454 454
455 // Enable screen capturing support for MediaStream API. 455 // Enable screen capturing support for MediaStream API.
456 const char kEnableUserMediaScreenCapturing[] = 456 const char kEnableUserMediaScreenCapturing[] =
457 "enable-usermedia-screen-capturing"; 457 "enable-usermedia-screen-capturing";
458 458
459 // Enables streaming scripts to V8 while loading.
460 const char kEnableV8ScriptStreaming[] = "enable-v8-script-streaming";
461
459 // Enables the use of the @viewport CSS rule, which allows 462 // Enables the use of the @viewport CSS rule, which allows
460 // pages to control aspects of their own layout. This also turns on touch-screen 463 // pages to control aspects of their own layout. This also turns on touch-screen
461 // pinch gestures. 464 // pinch gestures.
462 const char kEnableViewport[] = "enable-viewport"; 465 const char kEnableViewport[] = "enable-viewport";
463 466
464 // Enables the use of the legacy viewport meta tag. Turning this on also 467 // Enables the use of the legacy viewport meta tag. Turning this on also
465 // turns on the @viewport CSS rule 468 // turns on the @viewport CSS rule
466 const char kEnableViewportMeta[] = "enable-viewport-meta"; 469 const char kEnableViewportMeta[] = "enable-viewport-meta";
467 470
468 // Resizes of the main frame are the caused by changing between landscape 471 // Resizes of the main frame are the caused by changing between landscape
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
941 // Enable the Win32K process mitigation policy for renderer processes which 944 // Enable the Win32K process mitigation policy for renderer processes which
942 // prevents them from invoking user32 and gdi32 system calls which enter 945 // prevents them from invoking user32 and gdi32 system calls which enter
943 // the kernel. This is only supported on Windows 8 and beyond. 946 // the kernel. This is only supported on Windows 8 and beyond.
944 const char kEnableWin32kRendererLockDown[] 947 const char kEnableWin32kRendererLockDown[]
945 = "enable_win32k_renderer_lockdown"; 948 = "enable_win32k_renderer_lockdown";
946 #endif 949 #endif
947 950
948 // Don't dump stuff here, follow the same order as the header. 951 // Don't dump stuff here, follow the same order as the header.
949 952
950 } // namespace switches 953 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/public/common/web_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698