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

Side by Side Diff: client/dom/generated/src/frog/Console.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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 class _ConsoleJs 5 class _ConsoleJs
6 // Implement DOMType directly. Console is sometimes a singleton 6 // Implement DOMType directly. Console is sometimes a singleton
7 // bag-of-properties without a prototype, so it can't inherit from 7 // bag-of-properties without a prototype, so it can't inherit from
8 // DOMTypeJs. 8 // DOMTypeJs.
9 implements Console, DOMType 9 implements Console, DOMType
10 native "=(typeof console == 'undefined' ? {} : console)" { 10 native "=(typeof console == 'undefined' ? {} : console)" {
11 11
12 _MemoryInfoJs get memory() native "return this.memory;"; 12 final _MemoryInfoJs memory;
13 13
14 List get profiles() native "return this.profiles;"; 14 final List profiles;
15 15
16 void assertCondition(bool condition) native; 16 void assertCondition(bool condition) native;
17 17
18 void count() native; 18 void count() native;
19 19
20 void debug(Object arg) native; 20 void debug(Object arg) native;
21 21
22 void dir() native; 22 void dir() native;
23 23
24 void dirxml() native; 24 void dirxml() native;
(...skipping 24 matching lines...) Expand all
49 49
50 void trace(Object arg) native; 50 void trace(Object arg) native;
51 51
52 void warn(Object arg) native; 52 void warn(Object arg) native;
53 53
54 54
55 // Keep these in sync with frog_DOMTypeJs.dart. 55 // Keep these in sync with frog_DOMTypeJs.dart.
56 var dartObjectLocalStorage; 56 var dartObjectLocalStorage;
57 String get typeName() native; 57 String get typeName() native;
58 } 58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698