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

Side by Side Diff: tools/dom/src/dartium_KeyEvent.dart

Issue 166213002: Version 1.2.0-dev.5.7 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/dom/src/dart2js_KeyEvent.dart ('k') | tools/dom/src/native_DOMImplementation.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * A custom KeyboardEvent that attempts to eliminate cross-browser 2 * A custom KeyboardEvent that attempts to eliminate cross-browser
3 * inconsistencies, and also provide both keyCode and charCode information 3 * inconsistencies, and also provide both keyCode and charCode information
4 * for all key events (when such information can be determined). 4 * for all key events (when such information can be determined).
5 * 5 *
6 * KeyEvent tries to provide a higher level, more polished keyboard event 6 * KeyEvent tries to provide a higher level, more polished keyboard event
7 * information on top of the "raw" [KeyboardEvent]. 7 * information on top of the "raw" [KeyboardEvent].
8 * 8 *
9 * This class is very much a work in progress, and we'd love to get information 9 * This class is very much a work in progress, and we'd love to get information
10 * on how we can make this class work with as many international keyboards as 10 * on how we can make this class work with as many international keyboards as
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 String get _keyIdentifier { 122 String get _keyIdentifier {
123 throw new UnsupportedError("keyIdentifier is unsupported."); 123 throw new UnsupportedError("keyIdentifier is unsupported.");
124 } 124 }
125 void _initKeyboardEvent(String type, bool canBubble, bool cancelable, 125 void _initKeyboardEvent(String type, bool canBubble, bool cancelable,
126 Window view, String keyIdentifier, int keyLocation, bool ctrlKey, 126 Window view, String keyIdentifier, int keyLocation, bool ctrlKey,
127 bool altKey, bool shiftKey, bool metaKey, 127 bool altKey, bool shiftKey, bool metaKey,
128 bool altGraphKey) { 128 bool altGraphKey) {
129 throw new UnsupportedError( 129 throw new UnsupportedError(
130 "Cannot initialize a KeyboardEvent from a KeyEvent."); 130 "Cannot initialize a KeyboardEvent from a KeyEvent.");
131 } 131 }
132 int get _layerX => throw new UnsupportedError('Not applicable to KeyEvent');
133 int get _layerY => throw new UnsupportedError('Not applicable to KeyEvent');
134 int get _pageX => throw new UnsupportedError('Not applicable to KeyEvent');
135 int get _pageY => throw new UnsupportedError('Not applicable to KeyEvent');
136 @Experimental() // untriaged
137 bool getModifierState(String keyArgument) => throw new UnimplementedError();
138 @Experimental() // untriaged
139 int get location => throw new UnimplementedError();
140 @Experimental() // untriaged
141 bool get repeat => throw new UnimplementedError();
142 dynamic get _get_view => throw new UnimplementedError();
132 } 143 }
OLDNEW
« no previous file with comments | « tools/dom/src/dart2js_KeyEvent.dart ('k') | tools/dom/src/native_DOMImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698