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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; | 308 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; |
309 | 309 |
310 // Enables experimental feature that maps multiple RenderLayers to | 310 // Enables experimental feature that maps multiple RenderLayers to |
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. | |
319 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; | |
320 | |
321 // Enable the creation of compositing layers for fixed position | 318 // Enable the creation of compositing layers for fixed position |
322 // elements. Three options are needed to support four possible scenarios: | 319 // elements. Three options are needed to support four possible scenarios: |
323 // 1. Default (disabled) | 320 // 1. Default (disabled) |
324 // 2. Enabled always (to allow dogfooding) | 321 // 2. Enabled always (to allow dogfooding) |
325 // 3. Disabled always (to give safety fallback for users) | 322 // 3. Disabled always (to give safety fallback for users) |
326 // 4. Enabled only if we detect a highDPI display | 323 // 4. Enabled only if we detect a highDPI display |
327 // | 324 // |
328 // Option #4 may soon be the default, because the feature is needed soon for | 325 // 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 | 326 // high DPI, but cannot be used (yet) for low DPI. Options #2 and #3 will |
330 // override Option #4. | 327 // override Option #4. |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 // Enable the Win32K process mitigation policy for renderer processes which | 947 // Enable the Win32K process mitigation policy for renderer processes which |
951 // prevents them from invoking user32 and gdi32 system calls which enter | 948 // prevents them from invoking user32 and gdi32 system calls which enter |
952 // the kernel. This is only supported on Windows 8 and beyond. | 949 // the kernel. This is only supported on Windows 8 and beyond. |
953 const char kEnableWin32kRendererLockDown[] | 950 const char kEnableWin32kRendererLockDown[] |
954 = "enable_win32k_renderer_lockdown"; | 951 = "enable_win32k_renderer_lockdown"; |
955 #endif | 952 #endif |
956 | 953 |
957 // 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. |
958 | 955 |
959 } // namespace switches | 956 } // namespace switches |
OLD | NEW |