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

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

Issue 17893009: Move some native type dispatch tags from runtime into class definitions (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | no next file » | 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 da2a88fc9b7c3a918616151c63948e9093f24bf1..490855688a9becdc44dc895ba7cad4f601b0faf6 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -78,6 +78,7 @@ _dart_attribute_renames = monitored.Dict('generator._dart_attribute_renames', {
interface_factories = monitored.Dict('generator.interface_factories', {
})
+
#
# Custom native specs for the dart2js dom.
#
@@ -88,13 +89,36 @@ _dart2js_dom_custom_native_specs = monitored.Dict(
# tags here provided there is not conflict in usage (e.g. browser X has tag
# T and no other browser has tag T).
+ 'AnalyserNode': 'AnalyserNode,RealtimeAnalyserNode',
+
+ 'ChannelMergerNode': 'ChannelMergerNode,AudioChannelMerger',
+ 'ChannelSplitterNode': 'ChannelSplitterNode,AudioChannelSplitter',
+
+ 'CSSStyleDeclaration':
+ # IE Firefox
+ 'CSSStyleDeclaration,MSStyleCSSProperties,CSS2Properties',
+
'DOMApplicationCache':
'ApplicationCache,DOMApplicationCache,OfflineResourceList',
+ 'HTMLTableCellElement':
+ 'HTMLTableCellElement,HTMLTableDataCellElement,HTMLTableHeaderCellElement',
+
+ 'GainNode': 'GainNode,AudioGainNode',
+
+ 'IDBOpenDBRequest':
+ 'IDBOpenDBRequest,IDBVersionChangeRequest',
+
+ 'MouseEvent': 'MouseEvent,DragEvent',
+
'MutationObserver': 'MutationObserver,WebKitMutationObserver',
'NodeList': 'NodeList,RadioNodeList',
+ 'OscillatorNode': 'OscillatorNode,Oscillator',
+
+ 'PannerNode': 'PannerNode,AudioPannerNode',
+
'RTCPeerConnection': 'RTCPeerConnection,mozRTCPeerConnection',
'RTCIceCandidate': 'RTCIceCandidate,mozRTCIceCandidate',
@@ -103,6 +127,8 @@ _dart2js_dom_custom_native_specs = monitored.Dict(
'RTCDataChannel': 'RTCDataChannel,DataChannel',
+ 'ScriptProcessorNode': 'ScriptProcessorNode,JavaScriptAudioNode',
+
'TransitionEvent': 'TransitionEvent,WebKitTransitionEvent',
'WebKitCSSKeyframeRule':
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698