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

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

Issue 9233028: Frog dart:dom using interfaces and native implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 11 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 1
2 class MessagePort native "*MessagePort" { 2 class MessagePortJS implements MessagePort native "*MessagePort" {
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(Event 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
18 var dartObjectLocalStorage; 18 var dartObjectLocalStorage;
19 19
20 String get typeName() native; 20 String get typeName() native;
21 } 21 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/MessageEvent.dart ('k') | client/dom/generated/src/frog/Metadata.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698