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

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

Issue 11478015: "Reverting 15820" (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 13353 matching lines...) Expand 10 before | Expand all | Expand 10 after
13364 [bool canBubble = true, bool cancelable = true, 13364 [bool canBubble = true, bool cancelable = true,
13365 String keyIdentifier = null, int keyLocation = 1, bool ctrlKey = false, 13365 String keyIdentifier = null, int keyLocation = 1, bool ctrlKey = false,
13366 bool altKey = false, bool shiftKey = false, bool metaKey = false, 13366 bool altKey = false, bool shiftKey = false, bool metaKey = false,
13367 bool altGraphKey = false]) { 13367 bool altGraphKey = false]) {
13368 final e = document.$dom_createEvent("KeyboardEvent"); 13368 final e = document.$dom_createEvent("KeyboardEvent");
13369 e.$dom_initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, 13369 e.$dom_initKeyboardEvent(type, canBubble, cancelable, view, keyIdentifier,
13370 keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); 13370 keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey);
13371 return e; 13371 return e;
13372 } 13372 }
13373 13373
13374 /** @domName KeyboardEvent.initKeyboardEvent */
13375 void $dom_initKeyboardEvent(String type, bool canBubble, bool cancelable,
13376 LocalWindow view, String keyIdentifier, int keyLocation, bool ctrlKey,
13377 bool altKey, bool shiftKey, bool metaKey,
13378 bool altGraphKey) native "KeyboardEvent_initKeyboardEvent_Callback";
13379
13374 /** @domName KeyboardEvent.keyCode */ 13380 /** @domName KeyboardEvent.keyCode */
13375 int get keyCode => $dom_keyCode; 13381 int get keyCode => $dom_keyCode;
13376 13382
13377 /** @domName KeyboardEvent.charCode */ 13383 /** @domName KeyboardEvent.charCode */
13378 int get charCode => $dom_charCode; 13384 int get charCode => $dom_charCode;
13379 KeyboardEvent.internal(): super.internal(); 13385 KeyboardEvent.internal(): super.internal();
13380 13386
13381 13387
13382 /** @domName KeyboardEvent.altGraphKey */ 13388 /** @domName KeyboardEvent.altGraphKey */
13383 bool get altGraphKey native "KeyboardEvent_altGraphKey_Getter"; 13389 bool get altGraphKey native "KeyboardEvent_altGraphKey_Getter";
(...skipping 15 matching lines...) Expand all
13399 int get keyLocation native "KeyboardEvent_keyLocation_Getter"; 13405 int get keyLocation native "KeyboardEvent_keyLocation_Getter";
13400 13406
13401 13407
13402 /** @domName KeyboardEvent.metaKey */ 13408 /** @domName KeyboardEvent.metaKey */
13403 bool get metaKey native "KeyboardEvent_metaKey_Getter"; 13409 bool get metaKey native "KeyboardEvent_metaKey_Getter";
13404 13410
13405 13411
13406 /** @domName KeyboardEvent.shiftKey */ 13412 /** @domName KeyboardEvent.shiftKey */
13407 bool get shiftKey native "KeyboardEvent_shiftKey_Getter"; 13413 bool get shiftKey native "KeyboardEvent_shiftKey_Getter";
13408 13414
13409
13410 /** @domName KeyboardEvent.initKeyboardEvent */
13411 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";
13412
13413 } 13415 }
13414 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 13416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
13415 // for details. All rights reserved. Use of this source code is governed by a 13417 // for details. All rights reserved. Use of this source code is governed by a
13416 // BSD-style license that can be found in the LICENSE file. 13418 // BSD-style license that can be found in the LICENSE file.
13417 13419
13418 // WARNING: Do not edit - generated code. 13420 // WARNING: Do not edit - generated code.
13419 13421
13420 13422
13421 /// @domName HTMLKeygenElement 13423 /// @domName HTMLKeygenElement
13422 class KeygenElement extends _Element_Merged { 13424 class KeygenElement extends _Element_Merged {
(...skipping 16309 matching lines...) Expand 10 before | Expand all | Expand 10 after
29732 bool get isEmpty => Maps.isEmpty(this); 29734 bool get isEmpty => Maps.isEmpty(this);
29733 } 29735 }
29734 29736
29735 get _printClosure => (s) { 29737 get _printClosure => (s) {
29736 try { 29738 try {
29737 window.console.log(s); 29739 window.console.log(s);
29738 } catch (_) { 29740 } catch (_) {
29739 _Utils.print(s); 29741 _Utils.print(s);
29740 } 29742 }
29741 }; 29743 };
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