Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Side-by-side diff isn't available for this file because of its large size.
Issue 11881007: Revert "Adding support checks for FileSystem APIs and making APIs not webkit-specific." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/fileapi_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d172822c34731e318d343c6258b072f95426c03b..e982e7d793157eedb4bedf089d514fdfc5f58279 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -10727,9 +10727,6 @@ 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";
@@ -26013,15 +26010,11 @@ class Window extends EventTarget implements WindowBase {
/** @domName DOMWindow.webkitRequestFileSystem */
- @SupportedBrowser(SupportedBrowser.CHROME)
- @Experimental()
- void requestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitRequestFileSystem_Callback";
+ void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitRequestFileSystem_Callback";
/** @domName DOMWindow.webkitResolveLocalFileSystemURL */
- @SupportedBrowser(SupportedBrowser.CHROME)
- @Experimental()
- void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitResolveLocalFileSystemURL_Callback";
+ void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "DOMWindow_webkitResolveLocalFileSystemURL_Callback";
}
@@ -26378,27 +26371,19 @@ class WorkerContext extends EventTarget {
/** @domName WorkerContext.webkitRequestFileSystem */
- @SupportedBrowser(SupportedBrowser.CHROME)
- @Experimental()
- void requestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) native "WorkerContext_webkitRequestFileSystem_Callback";
+ void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) native "WorkerContext_webkitRequestFileSystem_Callback";
/** @domName WorkerContext.webkitRequestFileSystemSync */
- @SupportedBrowser(SupportedBrowser.CHROME)
- @Experimental()
- FileSystemSync requestFileSystemSync(int type, int size) native "WorkerContext_webkitRequestFileSystemSync_Callback";
+ FileSystemSync webkitRequestFileSystemSync(int type, int size) native "WorkerContext_webkitRequestFileSystemSync_Callback";
/** @domName WorkerContext.webkitResolveLocalFileSystemSyncURL */
- @SupportedBrowser(SupportedBrowser.CHROME)
- @Experimental()
- EntrySync resolveLocalFileSystemSyncUrl(String url) native "WorkerContext_webkitResolveLocalFileSystemSyncURL_Callback";
+ EntrySync webkitResolveLocalFileSystemSyncUrl(String url) native "WorkerContext_webkitResolveLocalFileSystemSyncURL_Callback";
/** @domName WorkerContext.webkitResolveLocalFileSystemURL */
- @SupportedBrowser(SupportedBrowser.CHROME)
- @Experimental()
- void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "WorkerContext_webkitResolveLocalFileSystemURL_Callback";
+ void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native "WorkerContext_webkitResolveLocalFileSystemURL_Callback";
}
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | tests/html/fileapi_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698