Index: tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
diff --git a/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate b/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
index 2f1edacb3c30a51265c63982893ada1757cb7a43..c02136f49eb3fb12e64de2d62a7bb9e047a861e2 100644 |
--- a/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
+++ b/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
@@ -38,6 +38,12 @@ $(ANNOTATIONS)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
return e; |
} |
+ /** |
+ * Used for KeyboardEvent polyfilling when programmatically constructing |
+ * KeyEvents. |
+ */ |
+ $CLASSNAME._private() : super._private(); |
+ |
@DomName('KeyboardEvent.initKeyboardEvent') |
void _initKeyboardEvent(String type, bool canBubble, bool cancelable, |
Window view, String keyIdentifier, int keyLocation, bool ctrlKey, |