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

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

Issue 21287002: Fixing WebGLLoseContext on Firefox. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.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 for systems to generate 6 """This module provides shared functionality for systems to generate
7 Dart APIs from the IDL database.""" 7 Dart APIs from the IDL database."""
8 8
9 import copy 9 import copy
10 import json 10 import json
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 'RTCIceCandidate': 'RTCIceCandidate,mozRTCIceCandidate', 129 'RTCIceCandidate': 'RTCIceCandidate,mozRTCIceCandidate',
130 130
131 'RTCSessionDescription': 'RTCSessionDescription,mozRTCSessionDescription', 131 'RTCSessionDescription': 'RTCSessionDescription,mozRTCSessionDescription',
132 132
133 'RTCDataChannel': 'RTCDataChannel,DataChannel', 133 'RTCDataChannel': 'RTCDataChannel,DataChannel',
134 134
135 'ScriptProcessorNode': 'ScriptProcessorNode,JavaScriptAudioNode', 135 'ScriptProcessorNode': 'ScriptProcessorNode,JavaScriptAudioNode',
136 136
137 'TransitionEvent': 'TransitionEvent,WebKitTransitionEvent', 137 'TransitionEvent': 'TransitionEvent,WebKitTransitionEvent',
138 138
139 'WebGLLoseContext': 'WebGLLoseContext,WebGLExtensionLoseContext',
140
139 'WebKitCSSKeyframeRule': 141 'WebKitCSSKeyframeRule':
140 'CSSKeyframeRule,MozCSSKeyframeRule,WebKitCSSKeyframeRule', 142 'CSSKeyframeRule,MozCSSKeyframeRule,WebKitCSSKeyframeRule',
141 143
142 'WebKitCSSKeyframesRule': 144 'WebKitCSSKeyframesRule':
143 'CSSKeyframesRule,MozCSSKeyframesRule,WebKitCSSKeyframesRule', 145 'CSSKeyframesRule,MozCSSKeyframesRule,WebKitCSSKeyframesRule',
144 146
145 'WheelEvent': 'WheelEvent,MouseWheelEvent,MouseScrollEvent', 147 'WheelEvent': 'WheelEvent,MouseWheelEvent,MouseScrollEvent',
146 148
147 'XMLHttpRequestUpload': 'XMLHttpRequestUpload,XMLHttpRequestEventTarget', 149 'XMLHttpRequestUpload': 'XMLHttpRequestUpload,XMLHttpRequestEventTarget',
148 150
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 type_name, type_data, dart_interface_name, self) 1198 type_name, type_data, dart_interface_name, self)
1197 1199
1198 if type_data.clazz == 'BasicTypedList': 1200 if type_data.clazz == 'BasicTypedList':
1199 dart_interface_name = self._renamer.RenameInterface( 1201 dart_interface_name = self._renamer.RenameInterface(
1200 self._database.GetInterface(type_name)) 1202 self._database.GetInterface(type_name))
1201 return BasicTypedListIDLTypeInfo( 1203 return BasicTypedListIDLTypeInfo(
1202 type_name, type_data, dart_interface_name, self) 1204 type_name, type_data, dart_interface_name, self)
1203 1205
1204 class_name = '%sIDLTypeInfo' % type_data.clazz 1206 class_name = '%sIDLTypeInfo' % type_data.clazz
1205 return globals()[class_name](type_name, type_data) 1207 return globals()[class_name](type_name, type_data)
OLDNEW
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698