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

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

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native 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
OLDNEW
1 1
2 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor kerContext native "*DedicatedWorkerContext" { 2 class _DedicatedWorkerContextJs extends _WorkerContextJs implements DedicatedWor kerContext native "*DedicatedWorkerContext" {
3 3
4 EventListener get onmessage() native "return this.onmessage;"; 4 EventListener onmessage;
5
6 void set onmessage(EventListener value) native "this.onmessage = value;";
7 5
8 void postMessage(Object message, [List messagePorts = null]) native; 6 void postMessage(Object message, [List messagePorts = null]) native;
9 7
10 void webkitPostMessage(Object message, [List transferList = null]) native; 8 void webkitPostMessage(Object message, [List transferList = null]) native;
11 } 9 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698