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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 // Enables LCD text. | 291 // Enables LCD text. |
292 const char kEnableLCDText[] = "enable-lcd-text"; | 292 const char kEnableLCDText[] = "enable-lcd-text"; |
293 | 293 |
294 // Enables using signed distance fields when rendering text. | 294 // Enables using signed distance fields when rendering text. |
295 // Only valid if GPU rasterization is enabled as well. | 295 // Only valid if GPU rasterization is enabled as well. |
296 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; | 296 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; |
297 | 297 |
298 // Enable the experimental Credential Manager JavaScript API. | 298 // Enable the experimental Credential Manager JavaScript API. |
299 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; | 299 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; |
300 | 300 |
| 301 // Use a BeginFrame signal from browser to renderer to schedule rendering. |
| 302 const char kEnableBeginFrameScheduling[] = "enable-begin-frame-scheduling"; |
| 303 |
301 // Enable the creation of compositing layers when it would prevent LCD text. | 304 // Enable the creation of compositing layers when it would prevent LCD text. |
302 const char kEnablePreferCompositingToLCDText[] = | 305 const char kEnablePreferCompositingToLCDText[] = |
303 "enable-prefer-compositing-to-lcd-text"; | 306 "enable-prefer-compositing-to-lcd-text"; |
304 | 307 |
305 // Disable one or more Blink runtime-enabled features. | 308 // Disable one or more Blink runtime-enabled features. |
306 // Use names from RuntimeEnabledFeatures.in, separated by commas. | 309 // Use names from RuntimeEnabledFeatures.in, separated by commas. |
307 // Applied before kDisableBlinkFeatures, and after other flags that change these | 310 // Applied before kDisableBlinkFeatures, and after other flags that change these |
308 // features. | 311 // features. |
309 const char kEnableBlinkFeatures[] = "enable-blink-features"; | 312 const char kEnableBlinkFeatures[] = "enable-blink-features"; |
310 | 313 |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
978 const char kEnableNpapi[] = "enable-npapi"; | 981 const char kEnableNpapi[] = "enable-npapi"; |
979 | 982 |
980 #if defined(ENABLE_PLUGINS) | 983 #if defined(ENABLE_PLUGINS) |
981 // Enables the plugin power saver feature. | 984 // Enables the plugin power saver feature. |
982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 985 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
983 #endif | 986 #endif |
984 | 987 |
985 // Don't dump stuff here, follow the same order as the header. | 988 // Don't dump stuff here, follow the same order as the header. |
986 | 989 |
987 } // namespace switches | 990 } // namespace switches |
OLD | NEW |