Add resize toggle menu for resize-locked apps

This CL adds the resize toggle menu which allows user to resize the resize-locked ARC apps to one of the predefined sizes.
The menu is shown when the maximize button is pressed, and it shows the confirmation dialog to proceed the resize operation if needed.

BUG=b:181614585

TEST=ResizeToggleMenuTest
TEST=ResizeUtilTest
TEST=ArcResizeLockManagerTest

Change-Id: I18ef27143327ffeb173f68e23a451e6ad05d7d59
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2786680
Commit-Queue: Toshiki Kikuchi <[email protected]>
Reviewed-by: Yuichiro Hanada <[email protected]>
Cr-Commit-Position: refs/heads/master@{#871353}
diff --git a/components/arc_strings.grdp b/components/arc_strings.grdp
index 63ea960..217f154a 100644
--- a/components/arc_strings.grdp
+++ b/components/arc_strings.grdp
@@ -2,7 +2,7 @@
 <grit-part>
   <!-- ARC app compatibility mode -->
   <message name="IDS_ASH_ARC_APP_COMPAT_RESIZE_CONFIRM_TITLE" desc="Dialog title that asks user if they want to enable resizing of the ARC application.">
-    Enable Maximizing?
+    Enable Resizing?
   </message>
   <message name="IDS_ASH_ARC_APP_COMPAT_RESIZE_CONFIRM_BODY" desc="Dialog body that asks user if they want to enable resizing of the ARC application.">
     This app is designed for mobile devices. It is running in a compatibility mode. Allow resizing might encounter issues including app restarting.
@@ -13,4 +13,16 @@
   <message name="IDS_ASH_ARC_APP_COMPAT_RESIZE_CONFIRM_DONT_ASK_ME" desc="Label for check box that prevents the dialog from being shown in the future">
     Don't ask me again for this app
   </message>
+  <message name="IDS_ARC_COMPAT_MODE_RESIZE_TOGGLE_MENU_PHONE" desc="Label for button to resize the window to phone size">
+    Phone
+  </message>
+  <message name="IDS_ARC_COMPAT_MODE_RESIZE_TOGGLE_MENU_TABLET" desc="Label for button to resize the window to tablet size">
+    Tablet
+  </message>
+  <message name="IDS_ARC_COMPAT_MODE_RESIZE_TOGGLE_MENU_DESKTOP" desc="Label for button to resize the window to desktop size">
+    Desktop
+  </message>
+  <message name="IDS_ARC_COMPAT_MODE_RESIZE_TOGGLE_MENU_RESIZE_SETTINGS" desc="Label for button to open resize settings">
+    Resize Settings
+  </message>
 </grit-part>