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 c1c7292ccc5719c6da6b008320ac41b0e70a3919..23e22bf601e94a59527aa4d1d52ebf6779eecdb7 100644 |
--- a/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
+++ b/tools/dom/templates/html/dart2js/impl_KeyboardEvent.darttemplate |
@@ -27,21 +27,20 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
factory $CLASSNAME(String type, |
{Window view, bool canBubble: true, bool cancelable: true, |
int keyLocation: 1, bool ctrlKey: false, |
- bool altKey: false, bool shiftKey: false, bool metaKey: false, |
- bool altGraphKey: false}) { |
+ bool altKey: false, bool shiftKey: false, bool metaKey: false}) { |
if (view == null) { |
view = window; |
} |
final e = document._createEvent("KeyboardEvent"); |
e._initKeyboardEvent(type, canBubble, cancelable, view, "", |
- keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); |
+ keyLocation, ctrlKey, altKey, shiftKey, metaKey); |
return e; |
} |
@DomName('KeyboardEvent.initKeyboardEvent') |
void _initKeyboardEvent(String type, bool canBubble, bool cancelable, |
Window view, String keyIdentifier, int keyLocation, bool ctrlKey, |
- bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) { |
+ bool altKey, bool shiftKey, bool metaKey) { |
if (JS('bool', 'typeof(#.initKeyEvent) == "function"', this)) { |
// initKeyEvent is only in Firefox (instead of initKeyboardEvent). It has |
// a slightly different signature, and allows you to specify keyCode and |
@@ -52,9 +51,9 @@ $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS |
ctrlKey, altKey, shiftKey, metaKey); |
} else { |
// initKeyboardEvent is for all other browsers. |
- JS('void', '#.initKeyboardEvent(#, #, #, #, #, #, #, #, #, #, #)', this, |
+ JS('void', '#.initKeyboardEvent(#, #, #, #, #, #, #, #, #, #)', this, |
type, canBubble, cancelable, view, keyIdentifier, keyLocation, |
- ctrlKey, altKey, shiftKey, metaKey, altGraphKey); |
+ ctrlKey, altKey, shiftKey, metaKey); |
} |
} |