Index: tools/dom/scripts/dartmetadata.py |
diff --git a/tools/dom/scripts/dartmetadata.py b/tools/dom/scripts/dartmetadata.py |
index 2b2d59442efcbe663c38e066584abd51d6e1d5e5..339a33c3fab35256165fe0bf31f8b3155040428a 100644 |
--- a/tools/dom/scripts/dartmetadata.py |
+++ b/tools/dom/scripts/dartmetadata.py |
@@ -152,6 +152,11 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', { |
"@Creates('Null')", |
], |
+ 'Gamepad.buttons': [ |
+ "@Creates('JSExtendableArray|GamepadButton')", |
+ "@Returns('JSExtendableArray')", |
+ ], |
+ |
'HTMLCanvasElement.getContext': [ |
"@Creates('CanvasRenderingContext2D|RenderingContext')", |
"@Returns('CanvasRenderingContext2D|RenderingContext|Null')", |