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