improve download handling

This commit is contained in:
Fabian Freund committed 2026-05-26 06:23:31 +02:00
1 parent 038cb3dffc
commit da90d07318
13 files changed
+3803 -2425

No files matched your search

@@ -2007,6 +2007,8 @@ abstract class GeckoStateEvents {
void onMlProgress(int sequence, MlProgressData progress);
void onDownloadStopped(int sequence, DownloadState state);
void onManifestUpdate(int sequence, String tabId, PwaManifest? manifest);
void onTranslationEngineStateChange(
@@ -2301,6 +2303,11 @@ abstract class GeckoDownloadsApi {
void requestDownload(String tabId, DownloadState state);
void copyInternetResource(String tabId, ShareInternetResourceState state);
void shareInternetResource(String tabId, ShareInternetResourceState state);
bool openDownloadedFile(
String fileName,
String directoryPath,
String? contentType,
);
}
@FlutterApi()