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 #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 Loading... |
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 Loading... |
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 |
OLD | NEW |