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

Side by Side Diff: sky/specs/events.md

Issue 925923004: Specs: rename sky:core to dart:sky (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/specs/elements.md ('k') | sky/specs/gestures.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Sky Event Model 1 Sky Event Model
2 =============== 2 ===============
3 3
4 ```dart 4 ```dart
5 SKY MODULE 5 SKY MODULE
6 <!-- part of sky:core --> 6 <!-- part of dart:sky -->
7 7
8 <script> 8 <script>
9 import 'dart:collection'; 9 import 'dart:collection';
10 import 'dart:async'; 10 import 'dart:async';
11 11
12 class ExceptionAndStackTrace<T> { 12 class ExceptionAndStackTrace<T> {
13 const ExceptionAndStackTrace(this.exception, this.stackTrace); 13 const ExceptionAndStackTrace(this.exception, this.stackTrace);
14 final T exception; 14 final T exception;
15 final StackTrace stackTrace; 15 final StackTrace stackTrace;
16 } 16 }
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 return event.result; 179 return event.result;
180 } 180 }
181 181
182 void _dispatchEventLocally(Event event) { 182 void _dispatchEventLocally(Event event) {
183 event._currentTarget = this; 183 event._currentTarget = this;
184 _eventsController.add(event); 184 _eventsController.add(event);
185 } 185 }
186 } 186 }
187 </script> 187 </script>
188 ``` 188 ```
OLDNEW
« no previous file with comments | « sky/specs/elements.md ('k') | sky/specs/gestures.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698