OLD | NEW |
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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 #if defined(OS_WIN) | 412 #if defined(OS_WIN) |
413 // Disable the Legacy Window which corresponds to the size of the WebContents. | 413 // Disable the Legacy Window which corresponds to the size of the WebContents. |
414 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 414 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
415 | 415 |
416 // Enables the DirectWrite font rendering system on windows. | 416 // Enables the DirectWrite font rendering system on windows. |
417 const char kEnableDirectWrite[] = "enable-direct-write"; | 417 const char kEnableDirectWrite[] = "enable-direct-write"; |
418 | 418 |
419 // Use high resolution timers for TimeTicks. | 419 // Use high resolution timers for TimeTicks. |
420 const char kEnableHighResolutionTime[] = "enable-high-resolution-time"; | 420 const char kEnableHighResolutionTime[] = "enable-high-resolution-time"; |
421 | 421 |
| 422 // Device scale factor passed to certain processes like renderers, etc. |
| 423 const char kUseDeviceScaleFactor[] = "use-device-scale-factor"; |
| 424 |
422 // Enable the Win32K process mitigation policy for renderer processes which | 425 // Enable the Win32K process mitigation policy for renderer processes which |
423 // prevents them from invoking user32 and gdi32 system calls which enter | 426 // prevents them from invoking user32 and gdi32 system calls which enter |
424 // the kernel. This is only supported on Windows 8 and beyond. | 427 // the kernel. This is only supported on Windows 8 and beyond. |
425 const char kEnableWin32kRendererLockDown[] | 428 const char kEnableWin32kRendererLockDown[] |
426 = "enable_win32k_renderer_lockdown"; | 429 = "enable_win32k_renderer_lockdown"; |
427 #endif | 430 #endif |
428 | 431 |
429 // Paint content on the compositor thread instead of the main thread. | 432 // Paint content on the compositor thread instead of the main thread. |
430 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; | 433 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; |
431 | 434 |
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 | 981 |
979 // Disables support for Core Animation plugins. This is triggered when | 982 // Disables support for Core Animation plugins. This is triggered when |
980 // accelerated compositing is disabled. See http://crbug.com/122430 . | 983 // accelerated compositing is disabled. See http://crbug.com/122430 . |
981 const char kDisableCoreAnimationPlugins[] = | 984 const char kDisableCoreAnimationPlugins[] = |
982 "disable-core-animation-plugins"; | 985 "disable-core-animation-plugins"; |
983 #endif | 986 #endif |
984 | 987 |
985 // Don't dump stuff here, follow the same order as the header. | 988 // Don't dump stuff here, follow the same order as the header. |
986 | 989 |
987 } // namespace switches | 990 } // namespace switches |
OLD | NEW |