[Lacros] Make Lacros intent picker bubble has same behaviour as ash.
This CL updates the code to allow the Lacros intent picker bubble has
the same behaviour as the ash intent picker, so that it has the required
Chrome OS behaviour.
This CL also removes an arc user interaction recording in the metrics,
because the LaunchAppWithIntent will record this metrics.
BUG=1225828
Change-Id: I4e80e64789419827269d6e9e28ab052e6cccbe65
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3156657
Commit-Queue: Maggie Cai <[email protected]>
Reviewed-by: Dominick Ng <[email protected]>
Reviewed-by: Xiyuan Xia <[email protected]>
Reviewed-by: David Jacobo <[email protected]>
Cr-Commit-Position: refs/heads/main@{#923281}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index d4bd8b1..58d98f7 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -5029,6 +5029,10 @@
"apps/app_service/media_requests.cc",
"apps/app_service/media_requests.h",
"apps/app_service/menu_item_constants.h",
+ "apps/intent_helper/chromeos_intent_picker_helpers.cc",
+ "apps/intent_helper/chromeos_intent_picker_helpers.h",
+ "apps/intent_helper/metrics/intent_handling_metrics.cc",
+ "apps/intent_helper/metrics/intent_handling_metrics.h",
"media/platform_verification_chromeos.cc",
"media/platform_verification_chromeos.h",
"platform_keys/extension_key_permissions_service.cc",