Add support for login screen action buttons

These 2 new buttons (PrimaryActionButton and SecondaryActionButton)
are displayed next to the 'back' button and can be controlled
by Gaia using WebUI messages.

Supported messages are:
   - 'setPrimaryActionLabel':
        Displays the primary button with the given label.
        'null' is used to remove the button.
   - 'setPrimaryActionEnabled':
        Enable/disable the primary button.
   - 'setSecondaryActionLabel':
        Displays the primary button with the given label.
        'null' is used to remove the button.
   - 'setSecondaryActionEnabled':
        Enable/disable the primary button.
   - 'setAllActionsEnabled':
        Enable/disable both action buttons.

When the buttons are clicked they will send a 'primaryActionHit' or
'secondaryActionHit' event.

This feature is controlled using the 'GaiaActionButton' feature,
which can be turned on by launching your chrome using the following
commandline argument:
     --enable-features=GaiaActionButtons

Bug: 954572
Change-Id: I465b4495058282281934c88ad3a93aadf2061dbc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1621358
Commit-Queue: Jeroen Dhollander <[email protected]>
Reviewed-by: Xiyuan Xia <[email protected]>
Reviewed-by: Denis Kuznetsov <[email protected]>
Reviewed-by: Boris Sazonov <[email protected]>
Reviewed-by: Alexander Alekseev <[email protected]>
Cr-Commit-Position: refs/heads/master@{#679148}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 334c65d..39eac7a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4120,6 +4120,12 @@
      FEATURE_VALUE_TYPE(chromeos::assistant::features::kAssistantRoutines)},
 #endif  // OS_CHROMEOS
 
+#if defined(OS_CHROMEOS)
+    {"gaia-action-buttons", flag_descriptions::kGaiaActionButtonsName,
+     flag_descriptions::kGaiaActionButtonsDescription, kOsCrOSOwnerOnly,
+     FEATURE_VALUE_TYPE(chromeos::features::kGaiaActionButtons)},
+#endif  // defined(OS_CHROMEOS)
+
     // NOTE: Adding a new flag requires adding a corresponding entry to enum
     // "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag
     // Histograms" in tools/metrics/histograms/README.md (run the