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

Side by Side Diff: tools/dom/scripts/dartmetadata.py

Issue 41583005: ImageData.data is a Uint8ClampedList (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/html_common/conversions.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 """This module provides shared functionality to provide Dart metadata for 6 """This module provides shared functionality to provide Dart metadata for
7 DOM APIs. 7 DOM APIs.
8 """ 8 """
9 9
10 import copy 10 import copy
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 'IDBVersionChangeEvent.newVersion': [ 200 'IDBVersionChangeEvent.newVersion': [
201 "@Creates('int|String|Null')", 201 "@Creates('int|String|Null')",
202 "@Returns('int|String|Null')", 202 "@Returns('int|String|Null')",
203 ], 203 ],
204 204
205 'IDBVersionChangeEvent.oldVersion': [ 205 'IDBVersionChangeEvent.oldVersion': [
206 "@Creates('int|String|Null')", 206 "@Creates('int|String|Null')",
207 "@Returns('int|String|Null')", 207 "@Returns('int|String|Null')",
208 ], 208 ],
209 209
210 'ImageData.data': [
211 "@Creates('Uint8ClampedList')",
212 "@Returns('Uint8ClampedList')",
213 ],
214
210 'MediaStream.getAudioTracks': [ 215 'MediaStream.getAudioTracks': [
211 "@Creates('JSExtendableArray')", 216 "@Creates('JSExtendableArray')",
212 "@Returns('JSExtendableArray')", 217 "@Returns('JSExtendableArray')",
213 ], 218 ],
214 219
215 'MediaStream.getVideoTracks': [ 220 'MediaStream.getVideoTracks': [
216 "@Creates('JSExtendableArray')", 221 "@Creates('JSExtendableArray')",
217 "@Returns('JSExtendableArray')", 222 "@Returns('JSExtendableArray')",
218 ], 223 ],
219 224
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
784 pass 789 pass
785 else: 790 else:
786 _logger.warn('Unknown support_level - %s:%s' % (interface_id, member_id)) 791 _logger.warn('Unknown support_level - %s:%s' % (interface_id, member_id))
787 792
788 return annotations 793 return annotations
789 794
790 def Flush(self): 795 def Flush(self):
791 json_file = open(self._api_status_path, 'w+') 796 json_file = open(self._api_status_path, 'w+')
792 json.dump(self._types, json_file, indent=2, separators=(',', ': '), sort_key s=True) 797 json.dump(self._types, json_file, indent=2, separators=(',', ': '), sort_key s=True)
793 json_file.close() 798 json_file.close()
OLDNEW
« no previous file with comments | « sdk/lib/html/html_common/conversions.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698