Add an API to trigger a download from a context menu.
The ContextMenuParams object becomes a token that is a parameter to Tab.download, as we need some internal data from content::ContextMenuParams to initiate the download with the right headers. Bug: 1153694 Change-Id: I4660f0cb313910c91dbde09bdeac93ea5921eb70 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2573388Reviewed-by:Bo <boliu@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#835387}
Showing
Please register or sign in to comment