Chromium Code Reviews| Index: tools/dom/scripts/generator.py |
| diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py |
| index e7cff303889763283291445d1c77d1a197f3773b..bf0651aa168ec91be689d0f5cdcb982d161e202c 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,11 @@ 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, |
| + |
|
Emily Fortuna
2013/01/11 21:05:13
delete this line
blois
2013/01/11 21:24:09
Done.
|
| } |
| def FindCommonAnnotations(interface_name, member_name=None): |