[AF][Status Chip] Add new container in toolbar for Autofill data icons
1)The new container is controlled by the feature flag.
2)Added toolbar_icon_container_view as the parent class to handle any
type of toolbar icons. And use toolbar_page_action_icon_container_view
to handle autofill-related page action icons.
3)Will add more functionalities like highlight and animation later. The
layout is not final yet.
4)Moved local card migration icon to the status chip.
5)To test the change, enable flag #autofill-enable-toolbar-status-chip
and use migration SETTINGS PAGE flow to test.
Refer to go/ib-paradise-test-plan.
6)Added screenshots in bug comment#2
Bug: 932818
Change-Id: Iad161dbd53feaf8f596068c146c469329a7160d3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1479948
Commit-Queue: Siyu An <[email protected]>
Reviewed-by: Fabio Tirelo <[email protected]>
Reviewed-by: Tommy Martino <[email protected]>
Reviewed-by: Michael Wasserman <[email protected]>
Reviewed-by: Peter Boström <[email protected]>
Reviewed-by: Jared Saul <[email protected]>
Cr-Commit-Position: refs/heads/master@{#640653}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1d70726b..361e146 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -3385,6 +3385,13 @@
flag_descriptions::kAutofillEnableCompanyNameName,
flag_descriptions::kAutofillEnableCompanyNameDescription, kOsAll,
FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCompanyName)},
+
+ {"autofill-enable-toolbar-status-chip",
+ flag_descriptions::kAutofillEnableToolbarStatusChipName,
+ flag_descriptions::kAutofillEnableToolbarStatusChipDescription,
+ kOsMac | kOsWin | kOsLinux,
+ FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableToolbarStatusChip)},
+
{"autofill-enforce-min-required-fields-for-heuristics",
flag_descriptions::kAutofillEnforceMinRequiredFieldsForHeuristicsName,
flag_descriptions::