| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _ConsoleWrappingImplementation extends DOMWrapperBase implements Console { | 7 class _ConsoleWrappingImplementation extends DOMWrapperBase implements Console { |
| 8 _ConsoleWrappingImplementation() : super() {} | 8 _ConsoleWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__ConsoleWrappingImplementation() native { | 10 static create__ConsoleWrappingImplementation() native { |
| 11 return new _ConsoleWrappingImplementation(); | 11 return new _ConsoleWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 MemoryInfo get memory() { return _get_memory(this); } | 14 MemoryInfo get memory() { return _get_memory(this); } |
| 15 static MemoryInfo _get_memory(var _this) native; | 15 static MemoryInfo _get_memory(var _this) native; |
| 16 | 16 |
| 17 List get profiles() { return _get_profiles(this); } |
| 18 static List _get_profiles(var _this) native; |
| 19 |
| 17 void assert(bool condition) { | 20 void assert(bool condition) { |
| 18 _assert(this, condition); | 21 _assert(this, condition); |
| 19 return; | 22 return; |
| 20 } | 23 } |
| 21 static void _assert(receiver, condition) native; | 24 static void _assert(receiver, condition) native; |
| 22 | 25 |
| 23 void count() { | 26 void count() { |
| 24 _count(this); | 27 _count(this); |
| 25 return; | 28 return; |
| 26 } | 29 } |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 return; | 82 return; |
| 80 } | 83 } |
| 81 static void _log(receiver, arg) native; | 84 static void _log(receiver, arg) native; |
| 82 | 85 |
| 83 void markTimeline() { | 86 void markTimeline() { |
| 84 _markTimeline(this); | 87 _markTimeline(this); |
| 85 return; | 88 return; |
| 86 } | 89 } |
| 87 static void _markTimeline(receiver) native; | 90 static void _markTimeline(receiver) native; |
| 88 | 91 |
| 92 void profile(String title) { |
| 93 _profile(this, title); |
| 94 return; |
| 95 } |
| 96 static void _profile(receiver, title) native; |
| 97 |
| 98 void profileEnd(String title) { |
| 99 _profileEnd(this, title); |
| 100 return; |
| 101 } |
| 102 static void _profileEnd(receiver, title) native; |
| 103 |
| 89 void time(String title) { | 104 void time(String title) { |
| 90 _time(this, title); | 105 _time(this, title); |
| 91 return; | 106 return; |
| 92 } | 107 } |
| 93 static void _time(receiver, title) native; | 108 static void _time(receiver, title) native; |
| 94 | 109 |
| 95 void timeEnd(String title) { | 110 void timeEnd(String title) { |
| 96 _timeEnd(this, title); | 111 _timeEnd(this, title); |
| 97 return; | 112 return; |
| 98 } | 113 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 111 static void _trace(receiver, arg) native; | 126 static void _trace(receiver, arg) native; |
| 112 | 127 |
| 113 void warn(Object arg) { | 128 void warn(Object arg) { |
| 114 _warn(this, arg); | 129 _warn(this, arg); |
| 115 return; | 130 return; |
| 116 } | 131 } |
| 117 static void _warn(receiver, arg) native; | 132 static void _warn(receiver, arg) native; |
| 118 | 133 |
| 119 String get typeName() { return "Console"; } | 134 String get typeName() { return "Console"; } |
| 120 } | 135 } |
| OLD | NEW |