| 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()",
|
|
|