[GeckoView] Add a button to download and open the file in an external app (bug 1829367)

This commit is contained in:
Calixte Denizet 2023-05-05 15:18:01 +02:00
parent f151a39d14
commit a652dc85e4
10 changed files with 54 additions and 16 deletions

View file

@ -156,8 +156,9 @@ class IDownloadManager {
/**
* @param {string} url
* @param {string} filename
* @param {Object} [options]
*/
downloadUrl(url, filename) {}
downloadUrl(url, filename, options) {}
/**
* @param {Uint8Array} data
@ -178,8 +179,9 @@ class IDownloadManager {
* @param {Blob} blob
* @param {string} url
* @param {string} filename
* @param {Object} [options]
*/
download(blob, url, filename) {}
download(blob, url, filename, options) {}
}
/**