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

Unified Diff: tool/input_sdk/private/interceptors.dart

Issue 1905803002: Fix undefined method errors adding no-op stubs for methods needed by dart2js but irrelevant in ddc.… (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: ptal Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/runtime/dart_sdk.js ('k') | tool/input_sdk/private/native_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/private/interceptors.dart
diff --git a/tool/input_sdk/private/interceptors.dart b/tool/input_sdk/private/interceptors.dart
index 8fb76920fadbb7c55d59839c157bae57336da2e3..307726b8dcf8ed240860b03ef337a3e7c32e1ca4 100644
--- a/tool/input_sdk/private/interceptors.dart
+++ b/tool/input_sdk/private/interceptors.dart
@@ -102,3 +102,13 @@ class UnknownJavaScriptObject extends JavaScriptObject {
String toString() => JS('String', 'String(#)', this);
}
+
+// Obsolete in dart dev compiler. Added only so that the same version of
+// dart:html can be used in dart2js an dev compiler.
+// Warning: calls to these methods need to be removed before custom elements
+// and cross-frame dom objects behave correctly in ddc.
+// See https://github.com/dart-lang/dev_compiler/issues/517
+findInterceptorConstructorForType(Type type) { }
+findConstructorForNativeSubclassType(Type type, String name) { }
+getNativeInterceptor(object) {}
+setDispatchProperty(object, value) {}
« no previous file with comments | « lib/runtime/dart_sdk.js ('k') | tool/input_sdk/private/native_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698