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

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

Issue 23055008: Making almost all dom_ methods private. Exceptions will be addressed in a later CL. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 /// 10 ///
(...skipping 25 matching lines...) Expand all
36 import 'dart:_isolate_helper' show IsolateNatives; 36 import 'dart:_isolate_helper' show IsolateNatives;
37 import 'dart:_foreign_helper' show JS; 37 import 'dart:_foreign_helper' show JS;
38 38
39 $!GENERATED_DART_FILES 39 $!GENERATED_DART_FILES
40 40
41 part '$AUXILIARY_DIR/AttributeMap.dart'; 41 part '$AUXILIARY_DIR/AttributeMap.dart';
42 part '$AUXILIARY_DIR/CanvasImageSource.dart'; 42 part '$AUXILIARY_DIR/CanvasImageSource.dart';
43 part '$AUXILIARY_DIR/CrossFrameTypes.dart'; 43 part '$AUXILIARY_DIR/CrossFrameTypes.dart';
44 part '$AUXILIARY_DIR/CssClassSet.dart'; 44 part '$AUXILIARY_DIR/CssClassSet.dart';
45 part '$AUXILIARY_DIR/CssRectangle.dart'; 45 part '$AUXILIARY_DIR/CssRectangle.dart';
46 part '$AUXILIARY_DIR/Device.dart';
46 part '$AUXILIARY_DIR/Dimension.dart'; 47 part '$AUXILIARY_DIR/Dimension.dart';
47 part '$AUXILIARY_DIR/EventListener.dart'; 48 part '$AUXILIARY_DIR/EventListener.dart';
48 part '$AUXILIARY_DIR/EventStreamProvider.dart'; 49 part '$AUXILIARY_DIR/EventStreamProvider.dart';
49 part '$AUXILIARY_DIR/ImmutableListMixin.dart'; 50 part '$AUXILIARY_DIR/ImmutableListMixin.dart';
50 part '$AUXILIARY_DIR/KeyboardEventStream.dart'; 51 part '$AUXILIARY_DIR/KeyboardEventStream.dart';
51 part '$AUXILIARY_DIR/KeyCode.dart'; 52 part '$AUXILIARY_DIR/KeyCode.dart';
52 part '$AUXILIARY_DIR/KeyLocation.dart'; 53 part '$AUXILIARY_DIR/KeyLocation.dart';
53 part '$AUXILIARY_DIR/KeyName.dart'; 54 part '$AUXILIARY_DIR/KeyName.dart';
54 part '$AUXILIARY_DIR/Point.dart'; 55 part '$AUXILIARY_DIR/Point.dart';
55 part '$AUXILIARY_DIR/ReadyState.dart'; 56 part '$AUXILIARY_DIR/ReadyState.dart';
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 return JS('int', r'window.$dart$isolate$counter++'); 107 return JS('int', r'window.$dart$isolate$counter++');
107 } 108 }
108 109
109 // Fast path to invoke JS send port. 110 // Fast path to invoke JS send port.
110 _callPortSync(int id, message) { 111 _callPortSync(int id, message) {
111 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message); 112 return JS('var', r'ReceivePortSync.dispatchCall(#, #)', id, message);
112 } 113 }
113 114
114 Future<SendPort> spawnDomFunction(Function f) => 115 Future<SendPort> spawnDomFunction(Function f) =>
115 new Future.value(IsolateNatives.spawnDomFunction(f)); 116 new Future.value(IsolateNatives.spawnDomFunction(f));
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698