MacPWAs BMO: Remove some uses of extensions::Extension
The general plan here is to make ExtensionAppShimHandler not know about extensions, but be able to interact with either apps or extensions via its ExtensionAppShimHandler::Delegate interface. To this end, start changing the interface to take app ids instead of extensions::Extensions. Most of this is mechanical, but a few aren't quite: * The Delegate::GetWindows method can't return an extensions type anymore, so inline its usage into new ShowAppWindows and CloseAppWindows methods (which, internally, will be able to). * Remove RequestUserAttentionForWindow, and have the caller (which is extensions-based app code) make the appropriate calls. Update tests to behave reasonably. Bug: 1057195 Change-Id: Ife8f37b608a9a601eafd38da44c2ad50b99f41c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2080487Reviewed-by:Alexey Baskakov <loyso@chromium.org> Reviewed-by:
ccameron <ccameron@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: ccameron <ccameron@chromium.org> Cr-Commit-Position: refs/heads/master@{#746502}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment