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

Unified Diff: tools/dom/scripts/generator.py

Issue 11856014: 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 | « tests/html/html.status ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/generator.py
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py
index e7cff303889763283291445d1c77d1a197f3773b..555e12549a94cfe7db30a896b44f8fa1a80b266f 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -628,6 +628,11 @@ _indexed_db_annotations = [
"@Experimental()",
]
+_file_system_annotations = [
+ "@SupportedBrowser(SupportedBrowser.CHROME)",
+ "@Experimental()",
+]
+
_all_but_ie9_annotations = [
"@SupportedBrowser(SupportedBrowser.CHROME)",
"@SupportedBrowser(SupportedBrowser.FIREFOX)",
@@ -645,10 +650,14 @@ dart_annotations = {
'ArrayBuffer': _all_but_ie9_annotations,
'ArrayBufferView': _all_but_ie9_annotations,
'DOMWindow.indexedDB': _indexed_db_annotations,
+ 'DOMWindow.webkitRequestFileSystem': _file_system_annotations,
+ 'DOMWindow.webkitResolveLocalFileSystemURL': _file_system_annotations,
'Element.webkitCreateShadowRoot': [
"@SupportedBrowser(SupportedBrowser.CHROME, '25')",
"@Experimental()",
],
+ 'FileSystem': _file_system_annotations,
+ 'FileSystemSync': _file_system_annotations,
'History.pushState': _history_annotations,
'History.replaceState': _history_annotations,
'HTMLContentElement': [
@@ -704,6 +713,10 @@ dart_annotations = {
],
'WebSocket': _all_but_ie9_annotations,
'WorkerContext.indexedDB': _indexed_db_annotations,
+ 'WorkerContext.webkitRequestFileSystem': _file_system_annotations,
+ 'WorkerContext.webkitRequestFileSystemSync': _file_system_annotations,
+ 'WorkerContext.webkitResolveLocalFileSystemSyncURL': _file_system_annotations,
+ 'WorkerContext.webkitResolveLocalFileSystemURL': _file_system_annotations,
}
def FindCommonAnnotations(interface_name, member_name=None):
« no previous file with comments | « tests/html/html.status ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698