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 | |
304 // Enable the creation of compositing layers when it would prevent LCD text. | 301 // Enable the creation of compositing layers when it would prevent LCD text. |
305 const char kEnablePreferCompositingToLCDText[] = | 302 const char kEnablePreferCompositingToLCDText[] = |
306 "enable-prefer-compositing-to-lcd-text"; | 303 "enable-prefer-compositing-to-lcd-text"; |
307 | 304 |
308 // Disable one or more Blink runtime-enabled features. | 305 // Disable one or more Blink runtime-enabled features. |
309 // Use names from RuntimeEnabledFeatures.in, separated by commas. | 306 // Use names from RuntimeEnabledFeatures.in, separated by commas. |
310 // Applied before kDisableBlinkFeatures, and after other flags that change these | 307 // Applied before kDisableBlinkFeatures, and after other flags that change these |
311 // features. | 308 // features. |
312 const char kEnableBlinkFeatures[] = "enable-blink-features"; | 309 const char kEnableBlinkFeatures[] = "enable-blink-features"; |
313 | 310 |
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 const char kEnableNpapi[] = "enable-npapi"; | 978 const char kEnableNpapi[] = "enable-npapi"; |
982 | 979 |
983 #if defined(ENABLE_PLUGINS) | 980 #if defined(ENABLE_PLUGINS) |
984 // Enables the plugin power saver feature. | 981 // Enables the plugin power saver feature. |
985 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 982 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
986 #endif | 983 #endif |
987 | 984 |
988 // Don't dump stuff here, follow the same order as the header. | 985 // Don't dump stuff here, follow the same order as the header. |
989 | 986 |
990 } // namespace switches | 987 } // namespace switches |
OLD | NEW |