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

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

Issue 429393003: Send idle notifications to V8 after commit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move flag from cc:switches to content switches. Created 6 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
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 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 const char kRendererStartupDialog[] = "renderer-startup-dialog"; 690 const char kRendererStartupDialog[] = "renderer-startup-dialog";
691 691
692 // Causes the process to run as a sandbox IPC subprocess. 692 // Causes the process to run as a sandbox IPC subprocess.
693 const char kSandboxIPCProcess[] = "sandbox-ipc"; 693 const char kSandboxIPCProcess[] = "sandbox-ipc";
694 694
695 // Enables or disables scroll end effect in response to vertical overscroll. 695 // Enables or disables scroll end effect in response to vertical overscroll.
696 // Set the value to '1' to enable the feature, and set to '0' to disable. 696 // Set the value to '1' to enable the feature, and set to '0' to disable.
697 // Defaults to disabled. 697 // Defaults to disabled.
698 const char kScrollEndEffect[] = "scroll-end-effect"; 698 const char kScrollEndEffect[] = "scroll-end-effect";
699 699
700 // Send idle notifications to V8 after commit.
701 const char kSendV8IdleNotificationAfterCommit[] =
702 "send-v8-idle-notification-after-commit";
703
700 // Visibly render a border around paint rects in the web page to help debug 704 // Visibly render a border around paint rects in the web page to help debug
701 // and study painting behavior. 705 // and study painting behavior.
702 const char kShowPaintRects[] = "show-paint-rects"; 706 const char kShowPaintRects[] = "show-paint-rects";
703 707
704 // Runs the renderer and plugins in the same process as the browser 708 // Runs the renderer and plugins in the same process as the browser
705 const char kSingleProcess[] = "single-process"; 709 const char kSingleProcess[] = "single-process";
706 710
707 // Experimentally enforces a one-site-per-process security policy. 711 // Experimentally enforces a one-site-per-process security policy.
708 // All cross-site navigations force process swaps, and we can restrict a 712 // All cross-site navigations force process swaps, and we can restrict a
709 // renderer process's access rights based on its site. For details, see: 713 // renderer process's access rights based on its site. For details, see:
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
927 // Enable the Win32K process mitigation policy for renderer processes which 931 // Enable the Win32K process mitigation policy for renderer processes which
928 // prevents them from invoking user32 and gdi32 system calls which enter 932 // prevents them from invoking user32 and gdi32 system calls which enter
929 // the kernel. This is only supported on Windows 8 and beyond. 933 // the kernel. This is only supported on Windows 8 and beyond.
930 const char kEnableWin32kRendererLockDown[] 934 const char kEnableWin32kRendererLockDown[]
931 = "enable_win32k_renderer_lockdown"; 935 = "enable_win32k_renderer_lockdown";
932 #endif 936 #endif
933 937
934 // Don't dump stuff here, follow the same order as the header. 938 // Don't dump stuff here, follow the same order as the header.
935 939
936 } // namespace switches 940 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698