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

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

Issue 566733004: Enable V8 idle notification after commit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 // Disable smooth scrolling for testing. 244 // Disable smooth scrolling for testing.
245 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; 245 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling";
246 246
247 // Disables the use of a 3D software rasterizer. 247 // Disables the use of a 3D software rasterizer.
248 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; 248 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer";
249 249
250 // Disable multithreaded GPU compositing of web content. 250 // Disable multithreaded GPU compositing of web content.
251 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; 251 const char kDisableThreadedCompositing[] = "disable-threaded-compositing";
252 252
253 // Disable V8 idle notification after commit.
254 // Overrides kEnableV8IdleNotificationAfterCommit.
255 const char kDisableV8IdleNotificationAfterCommit[] =
256 "disable-v8-idle-notification-after-commit";
257
253 // Don't enforce the same-origin policy. (Used by people testing their sites.) 258 // Don't enforce the same-origin policy. (Used by people testing their sites.)
254 const char kDisableWebSecurity[] = "disable-web-security"; 259 const char kDisableWebSecurity[] = "disable-web-security";
255 260
256 // Disables support for XSLT. 261 // Disables support for XSLT.
257 const char kDisableXSLT[] = "disable-xslt"; 262 const char kDisableXSLT[] = "disable-xslt";
258 263
259 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. 264 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS.
260 const char kDisableXSSAuditor[] = "disable-xss-auditor"; 265 const char kDisableXSSAuditor[] = "disable-xss-auditor";
261 266
262 // Disable rasterizer that writes directly to GPU memory associated with tiles. 267 // Disable rasterizer that writes directly to GPU memory associated with tiles.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 // The filename to write the output of the test tracing to. 453 // The filename to write the output of the test tracing to.
449 const char kEnableTracingOutput[] = "enable-tracing-output"; 454 const char kEnableTracingOutput[] = "enable-tracing-output";
450 455
451 // Enable screen capturing support for MediaStream API. 456 // Enable screen capturing support for MediaStream API.
452 const char kEnableUserMediaScreenCapturing[] = 457 const char kEnableUserMediaScreenCapturing[] =
453 "enable-usermedia-screen-capturing"; 458 "enable-usermedia-screen-capturing";
454 459
455 // Enables streaming scripts to V8 while loading. 460 // Enables streaming scripts to V8 while loading.
456 const char kEnableV8ScriptStreaming[] = "enable-v8-script-streaming"; 461 const char kEnableV8ScriptStreaming[] = "enable-v8-script-streaming";
457 462
463 // Send a notification from RenderWidgetCompositor to V8 to do idle work
464 // (e.g. garbage collection) after the commit until the beginning of the next
465 // frame. This moves the work off the critical path where compositor is waiting
466 // for the main thread. The flag is experimental until the implementation of the
467 // V8 idle handler is completed.
468 const char kEnableV8IdleNotificationAfterCommit[] =
469 "enable-v8-idle-notification-after-commit";
470
458 // Enables the use of the @viewport CSS rule, which allows 471 // Enables the use of the @viewport CSS rule, which allows
459 // pages to control aspects of their own layout. This also turns on touch-screen 472 // pages to control aspects of their own layout. This also turns on touch-screen
460 // pinch gestures. 473 // pinch gestures.
461 const char kEnableViewport[] = "enable-viewport"; 474 const char kEnableViewport[] = "enable-viewport";
462 475
463 // Enables the use of the legacy viewport meta tag. Turning this on also 476 // Enables the use of the legacy viewport meta tag. Turning this on also
464 // turns on the @viewport CSS rule 477 // turns on the @viewport CSS rule
465 const char kEnableViewportMeta[] = "enable-viewport-meta"; 478 const char kEnableViewportMeta[] = "enable-viewport-meta";
466 479
467 // Resizes of the main frame are the caused by changing between landscape 480 // Resizes of the main frame are the caused by changing between landscape
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 const char kRendererStartupDialog[] = "renderer-startup-dialog"; 698 const char kRendererStartupDialog[] = "renderer-startup-dialog";
686 699
687 // Causes the process to run as a sandbox IPC subprocess. 700 // Causes the process to run as a sandbox IPC subprocess.
688 const char kSandboxIPCProcess[] = "sandbox-ipc"; 701 const char kSandboxIPCProcess[] = "sandbox-ipc";
689 702
690 // Enables or disables scroll end effect in response to vertical overscroll. 703 // Enables or disables scroll end effect in response to vertical overscroll.
691 // Set the value to '1' to enable the feature, and set to '0' to disable. 704 // Set the value to '1' to enable the feature, and set to '0' to disable.
692 // Defaults to disabled. 705 // Defaults to disabled.
693 const char kScrollEndEffect[] = "scroll-end-effect"; 706 const char kScrollEndEffect[] = "scroll-end-effect";
694 707
695 // Send a notification from RenderWidgetCompositor to V8 to do idle work
696 // (e.g. garbage collection) after the commit until the beginning of the next
697 // frame. This moves the work off the critical path where compositor is waiting
698 // for the main thread. The flag is experimental until the implementation of the
699 // V8 idle handler is completed.
700 const char kSendV8IdleNotificationAfterCommit[] =
701 "send-v8-idle-notification-after-commit";
702
703 // Visibly render a border around paint rects in the web page to help debug 708 // Visibly render a border around paint rects in the web page to help debug
704 // and study painting behavior. 709 // and study painting behavior.
705 const char kShowPaintRects[] = "show-paint-rects"; 710 const char kShowPaintRects[] = "show-paint-rects";
706 711
707 // Runs the renderer and plugins in the same process as the browser 712 // Runs the renderer and plugins in the same process as the browser
708 const char kSingleProcess[] = "single-process"; 713 const char kSingleProcess[] = "single-process";
709 714
710 // Experimentally enforces a one-site-per-process security policy. 715 // Experimentally enforces a one-site-per-process security policy.
711 // All cross-site navigations force process swaps, and we can restrict a 716 // All cross-site navigations force process swaps, and we can restrict a
712 // renderer process's access rights based on its site. For details, see: 717 // renderer process's access rights based on its site. For details, see:
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 // Enable the Win32K process mitigation policy for renderer processes which 942 // Enable the Win32K process mitigation policy for renderer processes which
938 // prevents them from invoking user32 and gdi32 system calls which enter 943 // prevents them from invoking user32 and gdi32 system calls which enter
939 // the kernel. This is only supported on Windows 8 and beyond. 944 // the kernel. This is only supported on Windows 8 and beyond.
940 const char kEnableWin32kRendererLockDown[] 945 const char kEnableWin32kRendererLockDown[]
941 = "enable_win32k_renderer_lockdown"; 946 = "enable_win32k_renderer_lockdown";
942 #endif 947 #endif
943 948
944 // Don't dump stuff here, follow the same order as the header. 949 // Don't dump stuff here, follow the same order as the header.
945 950
946 } // namespace switches 951 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698