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

Unified Diff: sdk/lib/html/scripts/generator.py

Issue 11665030: Fixing Element.matches to be cross-platform and follow latest spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adding experimental annotation. Created 8 years 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/html/dartium/html_dartium.dart ('k') | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/scripts/generator.py
diff --git a/sdk/lib/html/scripts/generator.py b/sdk/lib/html/scripts/generator.py
index 4cccaa09dcf20967b9c06691f2f4b29642c92be8..5526a2a460f4d65d0bb10ab12f7d7c05bc59d708 100644
--- a/sdk/lib/html/scripts/generator.py
+++ b/sdk/lib/html/scripts/generator.py
@@ -694,6 +694,12 @@ dart2js_annotations = {
"@Creates('ArrayBuffer|Blob|Document|=Object|=List|String|num')",
}
+# Placeholder to add experimental flag, implementation for this is
+# pending in a separate CL.
+dart_annotations = {
+ 'Element.webkitMatchesSelector': ['@Experimental()'],
+}
+
def FindAnnotations(idl_type, interface_name, member_name):
ann1 = dart2js_annotations.get("%s.%s" % (interface_name, member_name))
if ann1:
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698