| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 // one composited layer to avoid pathological layer counts. | 313 // one composited layer to avoid pathological layer counts. |
| 314 const char kEnableLayerSquashing[] = | 314 const char kEnableLayerSquashing[] = |
| 315 "enable-layer-squashing"; | 315 "enable-layer-squashing"; |
| 316 | 316 |
| 317 // Enable experimental container node culling. | 317 // Enable experimental container node culling. |
| 318 const char kEnableContainerCulling[] = "enable-container-culling"; | 318 const char kEnableContainerCulling[] = "enable-container-culling"; |
| 319 | 319 |
| 320 // Use a BeginFrame signal from browser to renderer to schedule rendering. | 320 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
| 321 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | 321 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 322 | 322 |
| 323 // Use the experimental browser-side navigation path. |
| 324 const char kEnableBrowserSideNavigation[] = "enable-browser-side-navigation"; |
| 325 |
| 323 // Enable the creation of compositing layers for fixed position | 326 // Enable the creation of compositing layers for fixed position |
| 324 // elements. Three options are needed to support four possible scenarios: | 327 // elements. Three options are needed to support four possible scenarios: |
| 325 // 1. Default (disabled) | 328 // 1. Default (disabled) |
| 326 // 2. Enabled always (to allow dogfooding) | 329 // 2. Enabled always (to allow dogfooding) |
| 327 // 3. Disabled always (to give safety fallback for users) | 330 // 3. Disabled always (to give safety fallback for users) |
| 328 // 4. Enabled only if we detect a highDPI display | 331 // 4. Enabled only if we detect a highDPI display |
| 329 // | 332 // |
| 330 // Option #4 may soon be the default, because the feature is needed soon for | 333 // Option #4 may soon be the default, because the feature is needed soon for |
| 331 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will | 334 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will |
| 332 // override Option #4. | 335 // override Option #4. |
| (...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 944 // Enable the Win32K process mitigation policy for renderer processes which | 947 // Enable the Win32K process mitigation policy for renderer processes which |
| 945 // prevents them from invoking user32 and gdi32 system calls which enter | 948 // prevents them from invoking user32 and gdi32 system calls which enter |
| 946 // the kernel. This is only supported on Windows 8 and beyond. | 949 // the kernel. This is only supported on Windows 8 and beyond. |
| 947 const char kEnableWin32kRendererLockDown[] | 950 const char kEnableWin32kRendererLockDown[] |
| 948 = "enable_win32k_renderer_lockdown"; | 951 = "enable_win32k_renderer_lockdown"; |
| 949 #endif | 952 #endif |
| 950 | 953 |
| 951 // Don't dump stuff here, follow the same order as the header. | 954 // Don't dump stuff here, follow the same order as the header. |
| 952 | 955 |
| 953 } // namespace switches | 956 } // namespace switches |
| OLD | NEW |