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

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: Clean-ups. 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 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 const char kRendererStartupDialog[] = "renderer-startup-dialog"; 674 const char kRendererStartupDialog[] = "renderer-startup-dialog";
675 675
676 // Causes the process to run as a sandbox IPC subprocess. 676 // Causes the process to run as a sandbox IPC subprocess.
677 const char kSandboxIPCProcess[] = "sandbox-ipc"; 677 const char kSandboxIPCProcess[] = "sandbox-ipc";
678 678
679 // Enables or disables scroll end effect in response to vertical overscroll. 679 // Enables or disables scroll end effect in response to vertical overscroll.
680 // Set the value to '1' to enable the feature, and set to '0' to disable. 680 // Set the value to '1' to enable the feature, and set to '0' to disable.
681 // Defaults to disabled. 681 // Defaults to disabled.
682 const char kScrollEndEffect[] = "scroll-end-effect"; 682 const char kScrollEndEffect[] = "scroll-end-effect";
683 683
684 // Send idle notifications to V8 after commit.
685 const char kSendV8IdleNotificationAfterCommit[] =
686 "send-v8-idle-notification-after-commit";
687
684 // Visibly render a border around paint rects in the web page to help debug 688 // Visibly render a border around paint rects in the web page to help debug
685 // and study painting behavior. 689 // and study painting behavior.
686 const char kShowPaintRects[] = "show-paint-rects"; 690 const char kShowPaintRects[] = "show-paint-rects";
687 691
688 // Runs the renderer and plugins in the same process as the browser 692 // Runs the renderer and plugins in the same process as the browser
689 const char kSingleProcess[] = "single-process"; 693 const char kSingleProcess[] = "single-process";
690 694
691 // Experimentally enforces a one-site-per-process security policy. 695 // Experimentally enforces a one-site-per-process security policy.
692 // All cross-site navigations force process swaps, and we can restrict a 696 // All cross-site navigations force process swaps, and we can restrict a
693 // renderer process's access rights based on its site. For details, see: 697 // renderer process's access rights based on its site. For details, see:
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
911 // Enable the Win32K process mitigation policy for renderer processes which 915 // Enable the Win32K process mitigation policy for renderer processes which
912 // prevents them from invoking user32 and gdi32 system calls which enter 916 // prevents them from invoking user32 and gdi32 system calls which enter
913 // the kernel. This is only supported on Windows 8 and beyond. 917 // the kernel. This is only supported on Windows 8 and beyond.
914 const char kEnableWin32kRendererLockDown[] 918 const char kEnableWin32kRendererLockDown[]
915 = "enable_win32k_renderer_lockdown"; 919 = "enable_win32k_renderer_lockdown";
916 #endif 920 #endif
917 921
918 // Don't dump stuff here, follow the same order as the header. 922 // Don't dump stuff here, follow the same order as the header.
919 923
920 } // namespace switches 924 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698