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

Unified Diff: tools/dom/src/dart2js_KeyEvent.dart

Issue 2875773003: Roll 50: Updated for push to origin/master. (Closed)
Patch Set: Roll 50: Updated to latest Created 3 years, 7 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
Index: tools/dom/src/dart2js_KeyEvent.dart
diff --git a/tools/dom/src/dart2js_KeyEvent.dart b/tools/dom/src/dart2js_KeyEvent.dart
index 720cc1fb768497ef8ebf4088be1972a6208d1cc5..0d4a7539ebc6302fdc9e27803f22ffa32e622afc 100644
--- a/tools/dom/src/dart2js_KeyEvent.dart
+++ b/tools/dom/src/dart2js_KeyEvent.dart
@@ -63,6 +63,8 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent {
/** Shadows on top of the parent's currentTarget. */
EventTarget _currentTarget;
+ final InputDeviceCapabilities sourceCapabilities;
+
/**
* The value we want to use for this object's dispatch. Created here so it is
* only invoked once.
@@ -216,7 +218,6 @@ class KeyEvent extends _WrappedEvent implements KeyboardEvent {
bool get metaKey => _parent.metaKey;
/** True if the shift key was pressed during this event. */
bool get shiftKey => _parent.shiftKey;
- InputDevice get sourceDevice => _parent.sourceDevice;
Window get view => _parent.view;
void _initUIEvent(
String type, bool canBubble, bool cancelable, Window view, int detail) {

Powered by Google App Engine
This is Rietveld 408576698