Web Share: Support title/text/url sharing from web apps on ChromeOS
Web apps on Chrome OS may use the Web Share API to send title, text and/or url, in addition to files. If title, text and/or url ShareData fields have been supplied, they are used to set the text and title for the Intent. If the web app is sharing both a text string and a URL, we combine them into a single string, with a space separator. The same approach is already taken on Android: https://source.chromium.org/chromium/chromium/src/+/master:components/browser_ui/share/android/java/src/org/chromium/components/browser_ui/share/ShareHelper.java;drc=28d989a1fc83edb779c034cad48572775696bc66;l=357 Not yet implemented or tested: sharing title/text/url without files. Design doc: https://docs.google.com/document/d/1EjpgseTbBhT9ogQv6HV6sLlBl4hpb2viOcmPtFJorMQ/edit# Bug: 1127670 Change-Id: Ie56a372816602b71ff386dc1094be61610d70a79 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2569329 Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Reviewed-by:Alan Cutter <alancutter@chromium.org> Cr-Commit-Position: refs/heads/master@{#833292}
Showing
Please register or sign in to comment