Index: chrome/browser/about_flags.cc |
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
index b90aef7a96425b6aaff14a82b7241765ad2d356e..43bc0e41427b275e81bc164b4fccc601f4fa1ab1 100644 |
--- a/chrome/browser/about_flags.cc |
+++ b/chrome/browser/about_flags.cc |
@@ -445,6 +445,16 @@ const FeatureEntry::Choice kProgressBarAnimationChoices[] = { |
{ IDS_FLAGS_PROGRESS_BAR_ANIMATION_FAST_START, |
switches::kProgressBarAnimation, "fast-start" }, |
}; |
+ |
+const FeatureEntry::Choice kProgressBarCompletionChoices[] = { |
+ { IDS_FLAGS_PROGRESS_BAR_COMPLETION_LOAD_EVENT, |
+ switches::kProgressBarCompletion, "loadEvent" }, |
+ { IDS_FLAGS_PROGRESS_BAR_COMPLETION_DCL_AND_IMAGES, |
+ switches::kProgressBarCompletion, "domContentLoadedAndImages" }, |
+ { IDS_FLAGS_PROGRESS_BAR_COMPLETION_DOM_CONTENT_LOADED, |
+ switches::kProgressBarCompletion, "domContentLoaded" }, |
+}; |
+ |
#endif // defined(OS_ANDROID) |
#if defined(OS_CHROMEOS) |
@@ -1597,6 +1607,9 @@ const FeatureEntry kFeatureEntries[] = { |
{"progress-bar-animation", IDS_FLAGS_PROGRESS_BAR_ANIMATION_NAME, |
IDS_FLAGS_PROGRESS_BAR_ANIMATION_DESCRIPTION, kOsAndroid, |
MULTI_VALUE_TYPE(kProgressBarAnimationChoices)}, |
+ {"progress-bar-completion", IDS_FLAGS_PROGRESS_BAR_COMPLETION_NAME, |
+ IDS_FLAGS_PROGRESS_BAR_COMPLETION_DESCRIPTION, kOsAndroid, |
+ MULTI_VALUE_TYPE(kProgressBarCompletionChoices)}, |
#endif // defined(OS_ANDROID) |
#if defined(OS_ANDROID) |
{"offline-bookmarks", IDS_FLAGS_OFFLINE_BOOKMARKS_NAME, |