| 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 // Enable experimental container node culling. | 289 // Enable experimental container node culling. |
| 290 const char kEnableContainerCulling[] = "enable-container-culling"; | 290 const char kEnableContainerCulling[] = "enable-container-culling"; |
| 291 | 291 |
| 292 // Use a BeginFrame signal from browser to renderer to schedule rendering. | 292 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
| 293 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 293 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 294 | 294 |
| 295 // Enable the creation of compositing layers when it would prevent LCD text. | 295 // Enable the creation of compositing layers when it would prevent LCD text. |
| 296 const char kEnablePreferCompositingToLCDText[] = | 296 const char kEnablePreferCompositingToLCDText[] = |
| 297 "enable-prefer-compositing-to-lcd-text"; | 297 "enable-prefer-compositing-to-lcd-text"; |
| 298 | 298 |
| 299 // PlzNavigate: Use the experimental browser-side navigation path. |
| 300 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
| 301 |
| 299 // Enable/Disable the creation of compositing layers for RenderLayers with a | 302 // Enable/Disable the creation of compositing layers for RenderLayers with a |
| 300 // transition on a property that supports accelerated animation (that is, | 303 // transition on a property that supports accelerated animation (that is, |
| 301 // opacity, -webkit-transform, and -webkit-filter), even when no animation is | 304 // opacity, -webkit-transform, and -webkit-filter), even when no animation is |
| 302 // running. These options allow for three possible scenarios: | 305 // running. These options allow for three possible scenarios: |
| 303 // 1. Default (enabled only if we dectect a highDPI display) | 306 // 1. Default (enabled only if we dectect a highDPI display) |
| 304 // 2. Enabled always. | 307 // 2. Enabled always. |
| 305 // 3. Disabled always. | 308 // 3. Disabled always. |
| 306 const char kEnableCompositingForTransition[] = | 309 const char kEnableCompositingForTransition[] = |
| 307 "enable-transition-compositing"; | 310 "enable-transition-compositing"; |
| 308 | 311 |
| (...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 908 // Enable the Win32K process mitigation policy for renderer processes which | 911 // Enable the Win32K process mitigation policy for renderer processes which |
| 909 // prevents them from invoking user32 and gdi32 system calls which enter | 912 // prevents them from invoking user32 and gdi32 system calls which enter |
| 910 // the kernel. This is only supported on Windows 8 and beyond. | 913 // the kernel. This is only supported on Windows 8 and beyond. |
| 911 const char kEnableWin32kRendererLockDown[] | 914 const char kEnableWin32kRendererLockDown[] |
| 912 = "enable_win32k_renderer_lockdown"; | 915 = "enable_win32k_renderer_lockdown"; |
| 913 #endif | 916 #endif |
| 914 | 917 |
| 915 // Don't dump stuff here, follow the same order as the header. | 918 // Don't dump stuff here, follow the same order as the header. |
| 916 | 919 |
| 917 } // namespace switches | 920 } // namespace switches |
| OLD | NEW |