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

Side by Side Diff: client/dom/generated/src/frog/Notification.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 _NotificationJs extends _DOMTypeJs implements Notification native "*Notifi cation" { 2 class _NotificationJs extends _DOMTypeJs implements Notification native "*Notifi cation" {
3 3
4 String get dir() native "return this.dir;"; 4 String dir;
5 5
6 void set dir(String value) native "this.dir = value;"; 6 String replaceId;
7
8 String get replaceId() native "return this.replaceId;";
9
10 void set replaceId(String value) native "this.replaceId = value;";
11 7
12 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 8 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
13 9
14 void cancel() native; 10 void cancel() native;
15 11
16 bool dispatchEvent(_EventJs evt) native; 12 bool dispatchEvent(_EventJs evt) native;
17 13
18 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 14 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
19 15
20 void show() native; 16 void show() native;
21 } 17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698