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