| Index: content/public/common/content_switches.cc
|
| diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
|
| index 0770a14b29967b08247e43848b050041350a0898..92ec08dce8bb1a3687d056badcde50ae0b057759 100644
|
| --- a/content/public/common/content_switches.cc
|
| +++ b/content/public/common/content_switches.cc
|
| @@ -409,23 +409,6 @@ const char kEnableLowResTiling[] = "enable-low-res-tiling";
|
| const char kEnableHighDpiCompositingForFixedPosition[] =
|
| "enable-high-dpi-fixed-position-compositing";
|
|
|
| -#if defined(OS_WIN)
|
| -// Disable the Legacy Window which corresponds to the size of the WebContents.
|
| -const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window";
|
| -
|
| -// Enables the DirectWrite font rendering system on windows.
|
| -const char kEnableDirectWrite[] = "enable-direct-write";
|
| -
|
| -// Use high resolution timers for TimeTicks.
|
| -const char kEnableHighResolutionTime[] = "enable-high-resolution-time";
|
| -
|
| -// Enable the Win32K process mitigation policy for renderer processes which
|
| -// prevents them from invoking user32 and gdi32 system calls which enter
|
| -// the kernel. This is only supported on Windows 8 and beyond.
|
| -const char kEnableWin32kRendererLockDown[]
|
| - = "enable_win32k_renderer_lockdown";
|
| -#endif
|
| -
|
| // Paint content on the compositor thread instead of the main thread.
|
| const char kEnableImplSidePainting[] = "enable-impl-side-painting";
|
|
|
| @@ -982,6 +965,26 @@ const char kDisableCoreAnimationPlugins[] =
|
| "disable-core-animation-plugins";
|
| #endif
|
|
|
| +#if defined(OS_WIN)
|
| +// Device scale factor passed to certain processes like renderers, etc.
|
| +const char kDeviceScaleFactor[] = "device-scale-factor";
|
| +
|
| +// Disable the Legacy Window which corresponds to the size of the WebContents.
|
| +const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window";
|
| +
|
| +// Enables the DirectWrite font rendering system on windows.
|
| +const char kEnableDirectWrite[] = "enable-direct-write";
|
| +
|
| +// Use high resolution timers for TimeTicks.
|
| +const char kEnableHighResolutionTime[] = "enable-high-resolution-time";
|
| +
|
| +// Enable the Win32K process mitigation policy for renderer processes which
|
| +// prevents them from invoking user32 and gdi32 system calls which enter
|
| +// the kernel. This is only supported on Windows 8 and beyond.
|
| +const char kEnableWin32kRendererLockDown[]
|
| + = "enable_win32k_renderer_lockdown";
|
| +#endif
|
| +
|
| // Don't dump stuff here, follow the same order as the header.
|
|
|
| } // namespace switches
|
|
|