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

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

Issue 11818066: Fixing up Navigator.getUserMedia. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « tests/html/media_stream_test.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | 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 fc66c00c10aa939db46d9bccf3a15d7395f982ca..f4358570b0f5d69920546b045c3d6898e7312f30 100644
--- a/tools/dom/scripts/generator.py
+++ b/tools/dom/scripts/generator.py
@@ -615,12 +615,6 @@ 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()'],
-}
-
_indexed_db_annotations = [
"@SupportedBrowser(SupportedBrowser.CHROME)",
"@SupportedBrowser(SupportedBrowser.FIREFOX, '15')",
@@ -637,6 +631,11 @@ _all_but_ie9_annotations = [
_history_annotations = _all_but_ie9_annotations
+_media_stream_annotations = [
+ "@SupportedBrowser(SupportedBrowser.CHROME)",
+ "@Experimental()",
+]
+
# Annotations to be placed on generated members.
# The table is indexed as:
# INTERFACE: annotations to be added to the interface declaration
@@ -649,6 +648,7 @@ dart_annotations = {
"@SupportedBrowser(SupportedBrowser.CHROME, '25')",
"@Experimental()",
],
+ 'Element.webkitMatchesSelector': ['@Experimental()'],
'History.pushState': _history_annotations,
'History.replaceState': _history_annotations,
'HTMLContentElement': [
@@ -698,6 +698,7 @@ dart_annotations = {
],
'IDBFactory': _indexed_db_annotations,
'IDBDatabase': _indexed_db_annotations,
+ 'Navigator.webkitGetUserMedia': _media_stream_annotations,
'ShadowRoot': [
"@SupportedBrowser(SupportedBrowser.CHROME, '25')",
"@Experimental()",
« no previous file with comments | « tests/html/media_stream_test.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698