Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 library dart._interceptors; | 5 library dart._interceptors; |
| 6 | 6 |
| 7 import 'dart:collection'; | 7 import 'dart:collection'; |
| 8 import 'dart:_internal' hide Symbol; | 8 import 'dart:_internal' hide Symbol; |
| 9 import 'dart:_js_helper'; | 9 import 'dart:_js_helper'; |
| 10 import 'dart:_foreign_helper' show JS; | 10 import 'dart:_foreign_helper' show JS; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 95 * Interceptor for unclassified JavaScript objects, typically objects with a | 95 * Interceptor for unclassified JavaScript objects, typically objects with a |
| 96 * non-trivial prototype chain. | 96 * non-trivial prototype chain. |
| 97 * | 97 * |
| 98 * This class also serves as a fallback for unknown JavaScript exceptions. | 98 * This class also serves as a fallback for unknown JavaScript exceptions. |
| 99 */ | 99 */ |
| 100 class UnknownJavaScriptObject extends JavaScriptObject { | 100 class UnknownJavaScriptObject extends JavaScriptObject { |
| 101 const UnknownJavaScriptObject(); | 101 const UnknownJavaScriptObject(); |
| 102 | 102 |
| 103 String toString() => JS('String', 'String(#)', this); | 103 String toString() => JS('String', 'String(#)', this); |
| 104 } | 104 } |
| 105 | |
| 106 // Obsolete in dart dev compiler. Added only so that the same version of | |
| 107 // dart:html can be used in dart2js an dev compiler. | |
| 108 // Warning: calls to these methods need to be removed before custom elements | |
| 109 // and cross-frame dom objects behave correctly in ddc. | |
|
vsm
2016/04/20 23:11:00
Can you file bugs on custom elements and cross-fra
Jacob
2016/04/21 01:02:39
Done.
| |
| 110 findInterceptorConstructorForType(Type type) { } | |
| 111 findConstructorForNativeSubclassType(Type type, String name) { } | |
| 112 getNativeInterceptor(object) {} | |
| 113 setDispatchProperty(object, value) {} | |
| OLD | NEW |