Index: sdk/lib/html/dartium/html_dartium.dart |
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart |
index 85f5683ef36546d80a606f219d69663fbbaf16b0..8754c55e0a1c703c19d92edfcc2cc61de2a432ae 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -11259,6 +11259,9 @@ class FileReaderSync extends NativeFieldWrapperClass1 { |
class FileSystem extends NativeFieldWrapperClass1 { |
FileSystem.internal(); |
+ /// Checks if this type is supported on the current platform. |
+ static bool get supported => true; |
+ |
/** @domName DOMFileSystem.name */ |
String get name native "DOMFileSystem_name_Getter"; |
@@ -27098,11 +27101,15 @@ class Window extends EventTarget implements WindowBase { |
/** @domName DOMWindow.webkitRequestFileSystem */ |
- void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitRequestFileSystem_Callback"; |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @Experimental() |
+ void requestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitRequestFileSystem_Callback"; |
/** @domName DOMWindow.webkitResolveLocalFileSystemURL */ |
- void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitResolveLocalFileSystemURL_Callback"; |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @Experimental() |
+ void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitResolveLocalFileSystemURL_Callback"; |
Stream<Event> get onContentLoaded => contentLoadedEvent.forTarget(this); |
@@ -27613,19 +27620,27 @@ class WorkerContext extends EventTarget { |
/** @domName WorkerContext.webkitRequestFileSystem */ |
- void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) native "WorkerContext_webkitRequestFileSystem_Callback"; |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @Experimental() |
+ void requestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) native "WorkerContext_webkitRequestFileSystem_Callback"; |
/** @domName WorkerContext.webkitRequestFileSystemSync */ |
- FileSystemSync webkitRequestFileSystemSync(int type, int size) native "WorkerContext_webkitRequestFileSystemSync_Callback"; |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @Experimental() |
+ FileSystemSync requestFileSystemSync(int type, int size) native "WorkerContext_webkitRequestFileSystemSync_Callback"; |
/** @domName WorkerContext.webkitResolveLocalFileSystemSyncURL */ |
- EntrySync webkitResolveLocalFileSystemSyncUrl(String url) native "WorkerContext_webkitResolveLocalFileSystemSyncURL_Callback"; |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @Experimental() |
+ EntrySync resolveLocalFileSystemSyncUrl(String url) native "WorkerContext_webkitResolveLocalFileSystemSyncURL_Callback"; |
/** @domName WorkerContext.webkitResolveLocalFileSystemURL */ |
- void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "WorkerContext_webkitResolveLocalFileSystemURL_Callback"; |
+ @SupportedBrowser(SupportedBrowser.CHROME) |
+ @Experimental() |
+ void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "WorkerContext_webkitResolveLocalFileSystemURL_Callback"; |
Stream<Event> get onError => errorEvent.forTarget(this); |