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

Side by Side Diff: tools/dom/templates/html/dart2js/html_dart2js.darttemplate

Issue 12419011: Modern-ify KeyEvent handling. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // DO NOT EDIT - unless you are editing documentation as per: 5 // DO NOT EDIT - unless you are editing documentation as per:
6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 6 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
7 // Auto-generated dart:html library. 7 // Auto-generated dart:html library.
8 8
9 /// The Dart HTML library. 9 /// The Dart HTML library.
10 library dart.dom.html; 10 library dart.dom.html;
(...skipping 14 matching lines...) Expand all
25 import 'dart:_foreign_helper' show JS; 25 import 'dart:_foreign_helper' show JS;
26 26
27 $!GENERATED_DART_FILES 27 $!GENERATED_DART_FILES
28 28
29 part '$AUXILIARY_DIR/AttributeMap.dart'; 29 part '$AUXILIARY_DIR/AttributeMap.dart';
30 part '$AUXILIARY_DIR/CanvasImageSource.dart'; 30 part '$AUXILIARY_DIR/CanvasImageSource.dart';
31 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; 31 part '$AUXILIARY_DIR/CrossFrameTypes.dart';
32 part '$AUXILIARY_DIR/CssClassSet.dart'; 32 part '$AUXILIARY_DIR/CssClassSet.dart';
33 part '$AUXILIARY_DIR/EventListener.dart'; 33 part '$AUXILIARY_DIR/EventListener.dart';
34 part '$AUXILIARY_DIR/EventStreamProvider.dart'; 34 part '$AUXILIARY_DIR/EventStreamProvider.dart';
35 part '$AUXILIARY_DIR/KeyboardEventController.dart'; 35 part '$AUXILIARY_DIR/KeyboardEventStream.dart';
36 part '$AUXILIARY_DIR/KeyCode.dart'; 36 part '$AUXILIARY_DIR/KeyCode.dart';
37 part '$AUXILIARY_DIR/KeyLocation.dart'; 37 part '$AUXILIARY_DIR/KeyLocation.dart';
38 part '$AUXILIARY_DIR/KeyName.dart'; 38 part '$AUXILIARY_DIR/KeyName.dart';
39 part '$AUXILIARY_DIR/ModelTreeObserver.dart'; 39 part '$AUXILIARY_DIR/ModelTreeObserver.dart';
40 part '$AUXILIARY_DIR/Point.dart'; 40 part '$AUXILIARY_DIR/Point.dart';
41 part '$AUXILIARY_DIR/ReadyState.dart'; 41 part '$AUXILIARY_DIR/ReadyState.dart';
42 part '$AUXILIARY_DIR/Rectangle.dart'; 42 part '$AUXILIARY_DIR/Rectangle.dart';
43 part '$AUXILIARY_DIR/Timer.dart'; 43 part '$AUXILIARY_DIR/Timer.dart';
44 part '$AUXILIARY_DIR/_HttpRequestUtils.dart'; 44 part '$AUXILIARY_DIR/_HttpRequestUtils.dart';
45 part '$AUXILIARY_DIR/Isolates.dart'; 45 part '$AUXILIARY_DIR/Isolates.dart';
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 return JS('int', r'window.$dart$isolate$counter++'); 82 return JS('int', r'window.$dart$isolate$counter++');
83 } 83 }
84 84
85 // Fast path to invoke JS send port. 85 // Fast path to invoke JS send port.
86 _callPortSync(int id, message) { 86 _callPortSync(int id, message) {
87 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); 87 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message);
88 } 88 }
89 89
90 spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f); 90 spawnDomFunction(f) => IsolateNatives.spawnDomFunction(f);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698