Create flag for enabling two-up view feature in PDF viewer.
Add feature flag "pdf-two-up-view", which indicates whether users
have access to two-up view toggle button inside PDF viewer.
Bug: 51472
Change-Id: Icc37e4a595348c87248dfaa57b3e175cf2d98ac3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2023926
Commit-Queue: Hui Yingst <[email protected]>
Reviewed-by: Rebekah Potter <[email protected]>
Reviewed-by: Lei Zhang <[email protected]>
Reviewed-by: Daniel Hosseinian <[email protected]>
Cr-Commit-Position: refs/heads/master@{#737318}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index c771f27..6806dc94 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -3312,6 +3312,10 @@
{"pdf-form-save", flag_descriptions::kPdfFormSaveName,
flag_descriptions::kPdfFormSaveDescription, kOsDesktop,
FEATURE_VALUE_TYPE(chrome_pdf::features::kSaveEditedPDFForm)},
+
+ {"pdf-two-up-view", flag_descriptions::kPdfTwoUpViewName,
+ flag_descriptions::kPdfTwoUpViewDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(chrome_pdf::features::kPDFTwoUpView)},
#endif // BUILDFLAG(ENABLE_PDF)
#if BUILDFLAG(ENABLE_PRINTING)