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 1951b7c419a3d30da65aacfd46adb5faa25c6b25..e8b394ed442ce42a5cca9b959749cccd72b6f16c 100644 |
--- a/sdk/lib/html/dartium/html_dartium.dart |
+++ b/sdk/lib/html/dartium/html_dartium.dart |
@@ -10737,6 +10737,11 @@ 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"; |
@@ -26029,11 +26034,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"; |
} |
@@ -26390,19 +26399,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"; |
} |