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

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

Issue 12217089: Allow non-primitive-value dictionaries to be passed to constructors for html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
Index: tools/dom/scripts/generator.py
diff --git a/tools/dom/scripts/generator.py b/tools/dom/scripts/generator.py
index 7ad4e5165a1b2dd33f48c7adc759fc4127f2f8f2..3d3f37c9a8e905f9e96d5a3db02168010583c84e 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -673,12 +673,6 @@ _all_but_ie9_annotations = [
"@SupportedBrowser(SupportedBrowser.SAFARI)",
]
-_webkit_experimental_annotations = [
- "@SupportedBrowser(SupportedBrowser.CHROME)",
- "@SupportedBrowser(SupportedBrowser.SAFARI)",
- "@Experimental",
-]
-
_history_annotations = _all_but_ie9_annotations
_no_ie_annotations = [
@@ -693,6 +687,11 @@ _performance_annotations = [
"@SupportedBrowser(SupportedBrowser.IE)",
]
+_rtc_annotations = [ # Note: Firefox nightly builds also support this.
+ "@SupportedBrowser(SupportedBrowser.CHROME)",
+ "@Experimental",
+]
+
_speech_recognition_annotations = [
"@SupportedBrowser(SupportedBrowser.CHROME, '25')",
"@Experimental",
@@ -712,6 +711,12 @@ _webgl_annotations = [
"@Experimental",
]
+_webkit_experimental_annotations = [
+ "@SupportedBrowser(SupportedBrowser.CHROME)",
+ "@SupportedBrowser(SupportedBrowser.SAFARI)",
+ "@Experimental",
+]
+
# Annotations to be placed on generated members.
# The table is indexed as:
# INTERFACE: annotations to be added to the interface declaration
@@ -784,6 +789,13 @@ dart_annotations = {
],
'IDBFactory': _indexed_db_annotations,
'IDBDatabase': _indexed_db_annotations,
+ 'LocalMediaStream': _rtc_annotations,
+ 'MediaStream': _rtc_annotations,
+ 'MediaStreamEvents': _rtc_annotations,
+ 'MediaStreamEvent': _rtc_annotations,
+ 'MediaStreamTrack': _rtc_annotations,
+ 'MediaStreamTrackEvent': _rtc_annotations,
+ 'MediaStreamTrackEvents': _rtc_annotations,
'MutationObserver': [
"@SupportedBrowser(SupportedBrowser.CHROME)",
"@SupportedBrowser(SupportedBrowser.FIREFOX)",
@@ -793,6 +805,9 @@ dart_annotations = {
'NotificationCenter': _webkit_experimental_annotations,
'Performance': _performance_annotations,
'PopStateEvent': _history_annotations,
+ 'RTCIceCandidate': _rtc_annotations,
+ 'RTCPeerConnection': _rtc_annotations,
+ 'RTCSessionDescription': _rtc_annotations,
'ShadowRoot': [
"@SupportedBrowser(SupportedBrowser.CHROME, '25')",
"@Experimental",

Powered by Google App Engine
This is Rietveld 408576698