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

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

Issue 12386059: Updating annotations for shadow dom types. (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 20f6905830c80544b6ce3a69ec6231907dae117d..f0bd2f47e7756c9bae72d481eba77a5864ada5d1 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -692,6 +692,11 @@ _rtc_annotations = [ # Note: Firefox nightly builds also support this.
"@Experimental",
]
+_shadow_dom_annotations = [
+ "@SupportedBrowser(SupportedBrowser.CHROME, '26')",
+ "@Experimental",
+]
+
_speech_recognition_annotations = [
"@SupportedBrowser(SupportedBrowser.CHROME, '25')",
"@Experimental",
@@ -724,6 +729,7 @@ _webkit_experimental_annotations = [
dart_annotations = monitored.Dict('generator.dart_annotations', {
'ArrayBuffer': _all_but_ie9_annotations,
'ArrayBufferView': _all_but_ie9_annotations,
+ 'CSSHostRule': _shadow_dom_annotations,
'Crypto': _webkit_experimental_annotations,
'Database': _web_sql_annotations,
'DatabaseSync': _web_sql_annotations,
@@ -760,10 +766,7 @@ dart_annotations = monitored.Dict('generator.dart_annotations', {
],
'History.pushState': _history_annotations,
'History.replaceState': _history_annotations,
- 'HTMLContentElement': [
- "@SupportedBrowser(SupportedBrowser.CHROME, '25')",
- "@Experimental",
- ],
+ 'HTMLContentElement': _shadow_dom_annotations,
'HTMLDataListElement': _all_but_ie9_annotations,
'HTMLDetailsElement': _webkit_experimental_annotations,
'HTMLEmbedElement': [
@@ -780,10 +783,7 @@ dart_annotations = monitored.Dict('generator.dart_annotations', {
],
'HTMLOutputElement': _no_ie_annotations,
'HTMLProgressElement': _all_but_ie9_annotations,
- 'HTMLShadowElement': [
- "@SupportedBrowser(SupportedBrowser.CHROME, '25')",
- "@Experimental",
- ],
+ 'HTMLShadowElement': _shadow_dom_annotations,
'HTMLTrackElement': [
"@SupportedBrowser(SupportedBrowser.CHROME)",
"@SupportedBrowser(SupportedBrowser.IE, '10')",
@@ -808,10 +808,7 @@ dart_annotations = monitored.Dict('generator.dart_annotations', {
'RTCIceCandidate': _rtc_annotations,
'RTCPeerConnection': _rtc_annotations,
'RTCSessionDescription': _rtc_annotations,
- 'ShadowRoot': [
- "@SupportedBrowser(SupportedBrowser.CHROME, '25')",
- "@Experimental",
- ],
+ 'ShadowRoot': _shadow_dom_annotations,
'SpeechRecognition': _speech_recognition_annotations,
'SpeechRecognitionAlternative': _speech_recognition_annotations,
'SpeechRecognitionError': _speech_recognition_annotations,
« sdk/lib/html/dartium/html_dartium.dart ('K') | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698