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

Unified Diff: sdk/lib/html/dart2js/html_dart2js.dart

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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/dart2js/html_dart2js.dart
diff --git a/sdk/lib/html/dart2js/html_dart2js.dart b/sdk/lib/html/dart2js/html_dart2js.dart
index a3cf312f363f7f471be313a574b98a77abc71afc..af849b1f30540649bfb1b88db9e060c972d84eb3 100644
--- a/sdk/lib/html/dart2js/html_dart2js.dart
+++ b/sdk/lib/html/dart2js/html_dart2js.dart
@@ -9335,9 +9335,6 @@ class FileReaderSync native "*FileReaderSync" {
/// @domName DOMFileSystem; @docsEditable true
class FileSystem native "*DOMFileSystem" {
- /// Checks if this type is supported on the current platform.
- static bool get supported => JS('bool', '!!(window.webkitRequestFileSystem)');
-
/// @domName DOMFileSystem.name; @docsEditable true
final String name;
@@ -21699,14 +21696,11 @@ class Window extends EventTarget implements WindowBase native "@*DOMWindow" {
Point webkitConvertPointFromPageToNode(Node node, Point p) native;
/// @domName DOMWindow.webkitRequestFileSystem; @docsEditable true
- @JSName('webkitRequestFileSystem')
- @SupportedBrowser(SupportedBrowser.CHROME) @Experimental()
- void requestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native;
+ void webkitRequestFileSystem(int type, int size, FileSystemCallback successCallback, [ErrorCallback errorCallback]) native;
/// @domName DOMWindow.webkitResolveLocalFileSystemURL; @docsEditable true
@JSName('webkitResolveLocalFileSystemURL')
- @SupportedBrowser(SupportedBrowser.CHROME) @Experimental()
- void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native;
+ void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native;
}
@@ -22046,24 +22040,18 @@ class WorkerContext extends EventTarget native "*WorkerContext" {
int setTimeout(TimeoutHandler handler, int timeout) native;
/// @domName WorkerContext.webkitRequestFileSystem; @docsEditable true
- @JSName('webkitRequestFileSystem')
- @SupportedBrowser(SupportedBrowser.CHROME) @Experimental()
- void requestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) native;
+ void webkitRequestFileSystem(int type, int size, [FileSystemCallback successCallback, ErrorCallback errorCallback]) native;
/// @domName WorkerContext.webkitRequestFileSystemSync; @docsEditable true
- @JSName('webkitRequestFileSystemSync')
- @SupportedBrowser(SupportedBrowser.CHROME) @Experimental()
- FileSystemSync requestFileSystemSync(int type, int size) native;
+ FileSystemSync webkitRequestFileSystemSync(int type, int size) native;
/// @domName WorkerContext.webkitResolveLocalFileSystemSyncURL; @docsEditable true
@JSName('webkitResolveLocalFileSystemSyncURL')
- @SupportedBrowser(SupportedBrowser.CHROME) @Experimental()
- EntrySync resolveLocalFileSystemSyncUrl(String url) native;
+ EntrySync webkitResolveLocalFileSystemSyncUrl(String url) native;
/// @domName WorkerContext.webkitResolveLocalFileSystemURL; @docsEditable true
@JSName('webkitResolveLocalFileSystemURL')
- @SupportedBrowser(SupportedBrowser.CHROME) @Experimental()
- void resolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native;
+ void webkitResolveLocalFileSystemUrl(String url, EntryCallback successCallback, [ErrorCallback errorCallback]) native;
/**
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698