[ArcMigration: Lacros to ARC] Implement ArcObserver::OnIconInvalidated()
This is a re-submittion for reverted change: crrev.com/c/3267821.
ArcMigration: Lacros to ARC aims to implement right-click and
smart selection handling for ARC apps in Lacros.
This CL implements ArcObserver::OnIconInvalidated.
By this change, Ash-chrome calls OnIconInvalidated and invalidate icons
in ArcIconCache in Lacros, but the cache is empty for now.
Also, this CL moves activity_icon_loader to components/arc/common/.
This directory is used for the file used from both ash and lacros.
This CL doesn't affect the behavior.
Bug: 1268687
Change-Id: Iaba722eda23a3b629a1b5b5128219adb77a25944
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3308319
Reviewed-by: Hidehiko Abe <[email protected]>
Reviewed-by: Maggie Cai <[email protected]>
Reviewed-by: Sadrul Chowdhury <[email protected]>
Commit-Queue: Eriko Kurimoto <[email protected]>
Cr-Commit-Position: refs/heads/main@{#949402}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 5816676..543a3d9f 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -4966,6 +4966,7 @@
"//components/account_manager_core",
"//components/app_restore",
"//components/arc",
+ "//components/arc/common",
"//components/desks_storage",
"//components/metrics/structured:neutrino_logging",
"//components/metrics/structured:neutrino_logging_util",
@@ -5238,6 +5239,7 @@
"//chromeos/lacros",
"//chromeos/lacros/dbus",
"//chromeos/ui/frame",
+ "//components/arc/common",
"//ui/platform_window",
]
}