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

Side by Side Diff: tools/dom/src/dart2js_WrappedEvent.dart

Issue 1448963002: Fixing dart:html links _not_ found in docs.json (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « tools/dom/src/EventStreamProvider.dart ('k') | tools/dom/src/dartium_WrappedEvent.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 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 part of dart.html; 5 part of dart.html;
6 6
7 /** 7 /**
8 * Helper class to implement custom events which wrap DOM events. 8 * Helper class to implement custom events which wrap DOM events.
9 */ 9 */
10 class _WrappedEvent implements Event { 10 class _WrappedEvent implements Event {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 target = target.parent; 69 target = target.parent;
70 } while (target != null && target != currentTarget.parent); 70 } while (target != null && target != currentTarget.parent);
71 throw new StateError('No selector matched for populating matchedTarget.'); 71 throw new StateError('No selector matched for populating matchedTarget.');
72 } 72 }
73 73
74 /** 74 /**
75 * This event's path, taking into account shadow DOM. 75 * This event's path, taking into account shadow DOM.
76 * 76 *
77 * ## Other resources 77 * ## Other resources
78 * 78 *
79 * * [Shadow DOM extensions to Event] 79 * * [Shadow DOM extensions to
80 * (http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-event) from 80 * Event](http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-even t)
81 * W3C. 81 * from W3C.
82 */ 82 */
83 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ex tensions-to-event 83 // https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#ex tensions-to-event
84 @Experimental() 84 @Experimental()
85 List<Node> get path => wrapped.path; 85 List<Node> get path => wrapped.path;
86 86
87 dynamic get _get_currentTarget => wrapped._get_currentTarget; 87 dynamic get _get_currentTarget => wrapped._get_currentTarget;
88 88
89 dynamic get _get_target => wrapped._get_target; 89 dynamic get _get_target => wrapped._get_target;
90 } 90 }
OLDNEW
« no previous file with comments | « tools/dom/src/EventStreamProvider.dart ('k') | tools/dom/src/dartium_WrappedEvent.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698