lacros: Support platform_util::ShowItemInFolder
This code path is used by chrome://downloads, devtools, and elsewhere to show a file in the operating system's native file explorer. Wire the call in lacros to the equivalent call in ash via crosapi. This is a new interface, instead of part of "SelectFile", because SelectFile deals exclusively with opening/saving files. It's an implementation detail on Chrome OS that the open/save dialog and the general purpose file explorer share the same implementation. Bug: 1139128 Test: Download a file, "Show in folder" in chrome://downloads works Change-Id: I6234ea03e673ca4c9ca2566721e281d52041e101 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2488396 Commit-Queue: James Cook <jamescook@chromium.org> Reviewed-by:Darin Fisher <darin@chromium.org> Reviewed-by:
Greg Kerr <kerrnel@chromium.org> Reviewed-by:
Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#819958}
Showing
Please register or sign in to comment