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

Side by Side Diff: tools/dom/src/dart2js_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_DOMImplementation.dart ('k') | tools/dom/src/dartium_KeyEvent.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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 String get _keyIdentifier { 203 String get _keyIdentifier {
204 throw new UnsupportedError("keyIdentifier is unsupported."); 204 throw new UnsupportedError("keyIdentifier is unsupported.");
205 } 205 }
206 void _initKeyboardEvent(String type, bool canBubble, bool cancelable, 206 void _initKeyboardEvent(String type, bool canBubble, bool cancelable,
207 Window view, String keyIdentifier, int keyLocation, bool ctrlKey, 207 Window view, String keyIdentifier, int keyLocation, bool ctrlKey,
208 bool altKey, bool shiftKey, bool metaKey, 208 bool altKey, bool shiftKey, bool metaKey,
209 bool altGraphKey) { 209 bool altGraphKey) {
210 throw new UnsupportedError( 210 throw new UnsupportedError(
211 "Cannot initialize a KeyboardEvent from a KeyEvent."); 211 "Cannot initialize a KeyboardEvent from a KeyEvent.");
212 } 212 }
213 int get _layerX => throw new UnsupportedError('Not applicable to KeyEvent');
214 int get _layerY => throw new UnsupportedError('Not applicable to KeyEvent');
215 int get _pageX => throw new UnsupportedError('Not applicable to KeyEvent');
216 int get _pageY => throw new UnsupportedError('Not applicable to KeyEvent');
217 @Experimental() // untriaged
218 bool getModifierState(String keyArgument) => throw new UnimplementedError();
219 @Experimental() // untriaged
220 int get location => throw new UnimplementedError();
221 @Experimental() // untriaged
222 bool get repeat => throw new UnimplementedError();
223 dynamic get _get_view => throw new UnimplementedError();
213 } 224 }
OLDNEW
« no previous file with comments | « tools/dom/src/dart2js_DOMImplementation.dart ('k') | tools/dom/src/dartium_KeyEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698