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

Side by Side Diff: pkg/dev_compiler/tool/input_sdk/private/interceptors.dart

Issue 2962263002: fix #30030, fix #27327 - fix tearoffs and various Object member bugs (Closed)
Patch Set: fix Created 3 years, 5 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
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 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;
11 import 'dart:math' show Random; 11 import 'dart:math' show Random;
12 import 'dart:_runtime' show getGenericClass, wrapType;
12 13
13 part 'js_array.dart'; 14 part 'js_array.dart';
14 part 'js_number.dart'; 15 part 'js_number.dart';
15 part 'js_string.dart'; 16 part 'js_string.dart';
16 17
17 // TODO(jmesserly): remove, this doesn't do anything for us. 18 // TODO(jmesserly): remove, this doesn't do anything for us.
18 abstract class Interceptor { 19 abstract class Interceptor {
19 const Interceptor(); 20 const Interceptor();
20 21
21 // Use native JS toString method instead of standard Dart Object.toString. 22 // Use native JS toString method instead of standard Dart Object.toString.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 96
96 // Obsolete in dart dev compiler. Added only so that the same version of 97 // Obsolete in dart dev compiler. Added only so that the same version of
97 // dart:html can be used in dart2js an dev compiler. 98 // dart:html can be used in dart2js an dev compiler.
98 // Warning: calls to these methods need to be removed before custom elements 99 // Warning: calls to these methods need to be removed before custom elements
99 // and cross-frame dom objects behave correctly in ddc. 100 // and cross-frame dom objects behave correctly in ddc.
100 // See https://github.com/dart-lang/sdk/issues/28326 101 // See https://github.com/dart-lang/sdk/issues/28326
101 findInterceptorConstructorForType(Type type) {} 102 findInterceptorConstructorForType(Type type) {}
102 findConstructorForNativeSubclassType(Type type, String name) {} 103 findConstructorForNativeSubclassType(Type type, String name) {}
103 getNativeInterceptor(object) {} 104 getNativeInterceptor(object) {}
104 setDispatchProperty(object, value) {} 105 setDispatchProperty(object, value) {}
OLDNEW
« no previous file with comments | « pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/utils.dart ('k') | pkg/dev_compiler/tool/input_sdk/private/js_array.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698