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

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

Issue 11748003: Fixing up WebComponents types & tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 12 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 28d5ad46dc338b686aa77d74e2b9c5676f8337bb..73912b1b4dcee5b431b92b788b3158f174b29d0e 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -635,6 +635,10 @@ _history_annotations = [
# INTERFACE.MEMBER: annotation to be added to the member declaration
dart_annotations = {
'DOMWindow.indexedDB': _indexed_db_annotations,
+ 'Element.webkitCreateShadowRoot': [
+ "@SupportedBrowser(SupportedBrowser.CHROME, '25')",
Emily Fortuna 2013/01/02 18:54:04 not safari as well?
blois 2013/01/02 21:28:41 Actually only Chrome with a flag.
+ "@Experimental()",
+ ],
'History.pushState': _history_annotations,
'History.replaceState': _history_annotations,
'HTMLContentElement': [
@@ -683,6 +687,10 @@ dart_annotations = {
"@SupportedBrowser(SupportedBrowser.IE, '10')",
"@SupportedBrowser(SupportedBrowser.SAFARI)",
],
+ 'HTMLShadowElement': [
+ "@SupportedBrowser(SupportedBrowser.CHROME, '25')",
+ "@Experimental()",
+ ],
'HTMLTrackElement': [
"@SupportedBrowser(SupportedBrowser.CHROME)",
"@SupportedBrowser(SupportedBrowser.IE, '10')",
@@ -690,6 +698,10 @@ dart_annotations = {
],
'IDBFactory': _indexed_db_annotations,
'IDBDatabase': _indexed_db_annotations,
+ 'ShadowRoot': [
+ "@SupportedBrowser(SupportedBrowser.CHROME, '25')",
+ "@Experimental()",
+ ],
'WorkerContext.indexedDB': _indexed_db_annotations,
}

Powered by Google App Engine
This is Rietveld 408576698