Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Side by Side Diff: content/public/common/content_switches.cc

Issue 986173002: Animations: Implement runtime flag for enabling compositor animation timelines. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move switch from cc to content. Introduce ui switch. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Has no effect unless GPU rasterization is enabled. 273 // Has no effect unless GPU rasterization is enabled.
274 const char kDisableAcceleratedJpegDecoding[] = 274 const char kDisableAcceleratedJpegDecoding[] =
275 "disable-accelerated-jpeg-decoding"; 275 "disable-accelerated-jpeg-decoding";
276 276
277 // Enable bleeding-edge code to make Chrome draw content faster. The changes 277 // Enable bleeding-edge code to make Chrome draw content faster. The changes
278 // behind this path are very likely to break lots of content. 278 // behind this path are very likely to break lots of content.
279 // ** DO NOT use this flag unless you know what you are doing. ** 279 // ** DO NOT use this flag unless you know what you are doing. **
280 const char kEnableBleedingEdgeRenderingFastPaths[] = 280 const char kEnableBleedingEdgeRenderingFastPaths[] =
281 "enable-bleeding-edge-rendering-fast-paths"; 281 "enable-bleeding-edge-rendering-fast-paths";
282 282
283 // Enables new cc/animation system (Project Heaviside). crbug.com/394772
284 const char kEnableCompositorAnimationTimelines[] =
285 "enable-compositor-animation-timelines";
286
283 // Enables LCD text. 287 // Enables LCD text.
284 const char kEnableLCDText[] = "enable-lcd-text"; 288 const char kEnableLCDText[] = "enable-lcd-text";
285 289
286 // Enables using signed distance fields when rendering text. 290 // Enables using signed distance fields when rendering text.
287 // Only valid if GPU rasterization is enabled as well. 291 // Only valid if GPU rasterization is enabled as well.
288 const char kEnableDistanceFieldText[] = "enable-distance-field-text"; 292 const char kEnableDistanceFieldText[] = "enable-distance-field-text";
289 293
290 // Enable the experimental Credential Manager JavaScript API. 294 // Enable the experimental Credential Manager JavaScript API.
291 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api"; 295 const char kEnableCredentialManagerAPI[] = "enable-credential-manager-api";
292 296
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 const char kEnableNpapi[] = "enable-npapi"; 989 const char kEnableNpapi[] = "enable-npapi";
986 990
987 #if defined(ENABLE_PLUGINS) 991 #if defined(ENABLE_PLUGINS)
988 // Enables the plugin power saver feature. 992 // Enables the plugin power saver feature.
989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 993 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
990 #endif 994 #endif
991 995
992 // Don't dump stuff here, follow the same order as the header. 996 // Don't dump stuff here, follow the same order as the header.
993 997
994 } // namespace switches 998 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698