[StartSurface] Add a new flag for test
Bug: 1076449
Change-Id: I9007bdbaf5ec0f5a870454d6af98677577faf1a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2173382
Reviewed-by: Ganggui Tang <[email protected]>
Reviewed-by: Wei-Yin Chen (陳威尹) <[email protected]>
Auto-Submit: Ganggui Tang <[email protected]>
Commit-Queue: Wei-Yin Chen (陳威尹) <[email protected]>
Cr-Commit-Position: refs/heads/master@{#764440}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 4eba39c7..602a695 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1404,6 +1404,12 @@
const FeatureEntry::FeatureParam kStartSurfaceAndroid_SingleSurface[] = {
{"start_surface_variation", "single"}};
+const FeatureEntry::FeatureParam kStartSurfaceAndroid_SingleSurface_V2[] = {
+ {"start_surface_variation", "single"},
+ {"show_last_active_tab_only", "true"},
+ {"exclude_mv_tiles", "true"},
+ {"hide_switch_when_no_incognito_tabs", "true"}};
+
const FeatureEntry::FeatureParam
kStartSurfaceAndroid_SingleSurfaceWithoutMvTiles[] = {
{"start_surface_variation", "single"},
@@ -1428,6 +1434,8 @@
const FeatureEntry::FeatureVariation kStartSurfaceAndroidVariations[] = {
{"Single Surface", kStartSurfaceAndroid_SingleSurface,
base::size(kStartSurfaceAndroid_SingleSurface), nullptr},
+ {"Single Surface V2", kStartSurfaceAndroid_SingleSurface_V2,
+ base::size(kStartSurfaceAndroid_SingleSurface_V2), nullptr},
{"Single Surface without MV Tiles",
kStartSurfaceAndroid_SingleSurfaceWithoutMvTiles,
base::size(kStartSurfaceAndroid_SingleSurfaceWithoutMvTiles), nullptr},