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

Side by Side Diff: client/dom/generated/src/frog/MessagePort.dart

Issue 9381030: Let EventTarget be a base class in the frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: EventsTest passes Created 8 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 | Annotate | Revision Log
« no previous file with comments | « client/dom/generated/src/frog/EventSource.dart ('k') | client/dom/generated/src/frog/Node.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 1
2 class _MessagePortJs extends _DOMTypeJs implements MessagePort native "*MessageP ort" { 2 class _MessagePortJs extends _EventTargetJs implements MessagePort native "*Mess agePort" {
3 3
4 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 4 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
5 5
6 void close() native; 6 void close() native;
7 7
8 bool dispatchEvent(_EventJs evt) native; 8 bool dispatchEvent(_EventJs evt) native;
9 9
10 void postMessage(String message, [List messagePorts = null]) native; 10 void postMessage(String message, [List messagePorts = null]) native;
11 11
12 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 12 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13 13
14 void start() native; 14 void start() native;
15 15
16 void webkitPostMessage(String message, [List transfer = null]) native; 16 void webkitPostMessage(String message, [List transfer = null]) native;
17 } 17 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/EventSource.dart ('k') | client/dom/generated/src/frog/Node.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698