Index: chrome/browser/about_flags.cc |
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
index c787e21696a7009e19503d3b20b2bc9cbad2e28d..171e097163aae49a097d52ac2f5838f90e3d2467 100644 |
--- a/chrome/browser/about_flags.cc |
+++ b/chrome/browser/about_flags.cc |
@@ -393,6 +393,20 @@ const Experiment::Choice kFillOnAccountSelectChoices[] = { |
autofill::switches::kEnableFillOnAccountSelectNoHighlighting, "" }, |
}; |
+#if defined(USE_ASH) |
+const Experiment::Choice kAshScreenRotationAnimationChoices[] = { |
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, "", "" }, |
+ { IDS_ASH_SCREEN_ROTATION_ANIMATION_PARTIAL_ROTATION, |
+ ash::switches::kAshEnableScreenRotationAnimation, "partial-rotation" }, |
+ { IDS_ASH_SCREEN_ROTATION_ANIMATION_PARTIAL_ROTATION_SLOW, |
+ ash::switches::kAshEnableScreenRotationAnimation, "partial-rotation-slow" }, |
+ { IDS_ASH_SCREEN_ROTATION_ANIMATION_FULL_ROTATION, |
+ ash::switches::kAshEnableScreenRotationAnimation, "full-rotation" }, |
+ { IDS_ASH_SCREEN_ROTATION_ANIMATION_FULL_ROTATION_SLOW, |
+ ash::switches::kAshEnableScreenRotationAnimation, "full-rotation-slow" } |
+}; |
+#endif |
+ |
// RECORDING USER METRICS FOR FLAGS: |
// ----------------------------------------------------------------------------- |
// The first line of the experiment is the internal name. If you'd like to |
@@ -979,6 +993,13 @@ const Experiment kExperiments[] = { |
kOsCrOS, |
SINGLE_VALUE_TYPE(ash::switches::kAshEnableMirroredScreen), |
}, |
+ { |
+ "ash-enable-screen-rotation-animations", |
+ IDS_FLAGS_ASH_ENABLE_SCREEN_ROTATION_ANIMATION_NAME, |
+ IDS_FLAGS_ASH_ENABLE_SCREEN_ROTATION_ANIMATION_DESCRIPTION, |
+ kOsCrOS, |
+ MULTI_VALUE_TYPE(kAshScreenRotationAnimationChoices) |
+ }, |
#endif // defined(USE_ASH) |
#if defined(OS_CHROMEOS) |
{ |