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

Unified Diff: chrome/browser/about_flags.cc

Issue 11220002: Add new animations in second implementation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added shutdown animations Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index e3bfdab69d184e3572b8ca1016fc528377f09a8e..d4ea8e5ad1a432dfb571771e46e2f5958b73ec76 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -185,6 +185,16 @@ const Experiment::Choice kAshBootAnimationFunction[] = {
{ IDS_FLAGS_ASH_BOOT_ANIMATION_FUNCTION3,
ash::switches::kAshBootAnimationFunction3, ""}
};
+
+const Experiment::Choice kAshLockAnimationChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ ash::switches::kAshNewLockAnimationsDisabled, "0"},
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ ash::switches::kAshNewLockAnimationsEnabled, "1"}
+};
+
+
#endif
@@ -867,6 +877,13 @@ const Experiment kExperiments[] = {
kOsCrOS,
MULTI_VALUE_TYPE(kAshBootAnimationFunction),
},
+ {
+ "new-lock-animations",
+ IDS_FLAGS_ASH_NEW_LOCK_ANIMATIONS,
+ IDS_FLAGS_ASH_NEW_LOCK_ANIMATIONS_DESCRIPTION,
+ kOsCrOS,
+ MULTI_VALUE_TYPE(kAshLockAnimationChoices),
+ },
#endif
{
"enable-views-textfield",
« ash/wm/session_state_controller_impl2.cc ('K') | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698