dpwa: Implement Web Apps Shortcuts Menu in ChromeOS UI.
WebAppsChromeOs::GetMenuModel() appends the menu items using manifest resources already stored on disk (that part is already launched on all OSes) We override previously introduced WebAppsChromeOs::ExecuteContextMenuCommand() to launch the web app with url params appended. We implement ConvertSquareBitmapsToImageSkia helper function which converts manifest icons to hi-dpi in-memory representation needed by our AppService UI code. Bug: 1129721 Change-Id: Ic6aa0777f74db079c91d0f50f173f334d4be862e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462899 Commit-Queue: Alexey Baskakov <loyso@chromium.org> Reviewed-by:Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#843981}
Showing
Please register or sign in to comment