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

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

Issue 429053002: Use HighResNow whenever possible on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | 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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 #if defined(OS_WIN) 931 #if defined(OS_WIN)
932 // Device scale factor passed to certain processes like renderers, etc. 932 // Device scale factor passed to certain processes like renderers, etc.
933 const char kDeviceScaleFactor[] = "device-scale-factor"; 933 const char kDeviceScaleFactor[] = "device-scale-factor";
934 934
935 // Disables the DirectWrite font rendering system on windows. 935 // Disables the DirectWrite font rendering system on windows.
936 const char kDisableDirectWrite[] = "disable-direct-write"; 936 const char kDisableDirectWrite[] = "disable-direct-write";
937 937
938 // Disable the Legacy Window which corresponds to the size of the WebContents. 938 // Disable the Legacy Window which corresponds to the size of the WebContents.
939 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; 939 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window";
940 940
941 // Use high resolution timers for TimeTicks.
942 const char kEnableHighResolutionTime[] = "enable-high-resolution-time";
943
944 // Enable the Win32K process mitigation policy for renderer processes which 941 // Enable the Win32K process mitigation policy for renderer processes which
945 // prevents them from invoking user32 and gdi32 system calls which enter 942 // prevents them from invoking user32 and gdi32 system calls which enter
946 // the kernel. This is only supported on Windows 8 and beyond. 943 // the kernel. This is only supported on Windows 8 and beyond.
947 const char kEnableWin32kRendererLockDown[] 944 const char kEnableWin32kRendererLockDown[]
948 = "enable_win32k_renderer_lockdown"; 945 = "enable_win32k_renderer_lockdown";
949 #endif 946 #endif
950 947
951 // Don't dump stuff here, follow the same order as the header. 948 // Don't dump stuff here, follow the same order as the header.
952 949
953 } // namespace switches 950 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698