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

Side by Side Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 11451015: Fix dartium constructor for KeyboardEvent. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | « no previous file | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library html; 1 library html;
2 2
3 import 'dart:collection'; 3 import 'dart:collection';
4 import 'dart:html_common'; 4 import 'dart:html_common';
5 import 'dart:indexed_db'; 5 import 'dart:indexed_db';
6 import 'dart:isolate'; 6 import 'dart:isolate';
7 import 'dart:json'; 7 import 'dart:json';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:svg' as svg; 9 import 'dart:svg' as svg;
10 import 'dart:web_audio' as web_audio; 10 import 'dart:web_audio' as web_audio;
(...skipping 13137 matching lines...) Expand 10 before | Expand all | Expand 10 after
13148 [bool canBubble = true, bool cancelable = true, 13148 [bool canBubble = true, bool cancelable = true,
13149 String keyIdentifier = null, int keyLocation = 1, bool ctrlKey = false, 13149 String keyIdentifier = null, int keyLocation = 1, bool ctrlKey = false,
13150 bool altKey = false, bool shiftKey = false, bool metaKey = false, 13150 bool altKey = false, bool shiftKey = false, bool metaKey = false,
13151 bool altGraphKey = false]) { 13151 bool altGraphKey = false]) {
13152 final e = document.$dom_createEvent("KeyboardEvent"); 13152 final e = document.$dom_createEvent("KeyboardEvent");
13153 e.$dom_initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, 13153 e.$dom_initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier,
13154 keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); 13154 keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey);
13155 return e; 13155 return e;
13156 } 13156 }
13157 13157
13158 /** @domName KeyboardEvent.initKeyboardEvent */
13159 void $dom_initKeyboardEvent(String type, bool canBubble, bool cancelable,
13160 LocalWindow view, String keyIdentifier, int keyLocation, bool ctrlKey,
13161 bool altKey, bool shiftKey, bool metaKey,
13162 bool altGraphKey) native "KeyboardEvent_initKeyboardEvent_Callback";
13163
13164 /** @domName KeyboardEvent.keyCode */ 13158 /** @domName KeyboardEvent.keyCode */
13165 int get keyCode => $dom_keyCode; 13159 int get keyCode => $dom_keyCode;
13166 13160
13167 /** @domName KeyboardEvent.charCode */ 13161 /** @domName KeyboardEvent.charCode */
13168 int get charCode => $dom_charCode; 13162 int get charCode => $dom_charCode;
13169 KeyboardEvent.internal(): super.internal(); 13163 KeyboardEvent.internal(): super.internal();
13170 13164
13171 13165
13172 /** @domName KeyboardEvent.altGraphKey */ 13166 /** @domName KeyboardEvent.altGraphKey */
13173 bool get altGraphKey native "KeyboardEvent_altGraphKey_Getter"; 13167 bool get altGraphKey native "KeyboardEvent_altGraphKey_Getter";
(...skipping 15 matching lines...) Expand all
13189 int get keyLocation native "KeyboardEvent_keyLocation_Getter"; 13183 int get keyLocation native "KeyboardEvent_keyLocation_Getter";
13190 13184
13191 13185
13192 /** @domName KeyboardEvent.metaKey */ 13186 /** @domName KeyboardEvent.metaKey */
13193 bool get metaKey native "KeyboardEvent_metaKey_Getter"; 13187 bool get metaKey native "KeyboardEvent_metaKey_Getter";
13194 13188
13195 13189
13196 /** @domName KeyboardEvent.shiftKey */ 13190 /** @domName KeyboardEvent.shiftKey */
13197 bool get shiftKey native "KeyboardEvent_shiftKey_Getter"; 13191 bool get shiftKey native "KeyboardEvent_shiftKey_Getter";
13198 13192
13193
13194 /** @domName KeyboardEvent.initKeyboardEvent */
13195 void $dom_initKeyboardEvent(String type, bool canBubble, bool cancelable, Loca lWindow view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native "KeyboardEvent_initKeyboar dEvent_Callback";
13196
13199 } 13197 }
13200 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13198 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13201 // for details. All rights reserved. Use of this source code is governed by a 13199 // for details. All rights reserved. Use of this source code is governed by a
13202 // BSD-style license that can be found in the LICENSE file. 13200 // BSD-style license that can be found in the LICENSE file.
13203 13201
13204 // WARNING: Do not edit - generated code. 13202 // WARNING: Do not edit - generated code.
13205 13203
13206 13204
13207 /// @domName HTMLKeygenElement 13205 /// @domName HTMLKeygenElement
13208 class KeygenElement extends _Element_Merged { 13206 class KeygenElement extends _Element_Merged {
(...skipping 16352 matching lines...) Expand 10 before | Expand all | Expand 10 after
29561 bool get isEmpty => Maps.isEmpty(this); 29559 bool get isEmpty => Maps.isEmpty(this);
29562 } 29560 }
29563 29561
29564 get _printClosure => (s) { 29562 get _printClosure => (s) {
29565 try { 29563 try {
29566 window.console.log(s); 29564 window.console.log(s);
29567 } catch (_) { 29565 } catch (_) {
29568 _Utils.print(s); 29566 _Utils.print(s);
29569 } 29567 }
29570 }; 29568 };
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698