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

Side by Side Diff: sdk/lib/html/html_common/conversions_dartium.dart

Issue 2973823002: Revert "Remaining private libs" (Closed)
Patch Set: 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 part of "dart:html_common"; 1 part of "html_common.dart";
2 2
3 convertDartToNative_PrepareForStructuredClone(value) => 3 convertDartToNative_PrepareForStructuredClone(value) =>
4 new _StructuredCloneDartium() 4 new _StructuredCloneDartium()
5 .convertDartToNative_PrepareForStructuredClone(value); 5 .convertDartToNative_PrepareForStructuredClone(value);
6 6
7 convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}) => 7 convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}) =>
8 new _AcceptStructuredCloneDartium() 8 new _AcceptStructuredCloneDartium()
9 .convertNativeToDart_AcceptStructuredClone(object, mustCopy: mustCopy); 9 .convertNativeToDart_AcceptStructuredClone(object, mustCopy: mustCopy);
10 10
11 class _StructuredCloneDartium extends _StructuredClone { 11 class _StructuredCloneDartium extends _StructuredClone {
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 if (js.JsNative.hasProperty(e, "postMessage")) { 285 if (js.JsNative.hasProperty(e, "postMessage")) {
286 // assume this is a Window. To match Dart2JS, separate conversion code 286 // assume this is a Window. To match Dart2JS, separate conversion code
287 // in dart:html will switch the wrapper to a cross frame window as 287 // in dart:html will switch the wrapper to a cross frame window as
288 // required. 288 // required.
289 // TODO(jacobr): we could consider removing this code completely. 289 // TODO(jacobr): we could consider removing this code completely.
290 return Window.instanceRuntimeType; 290 return Window.instanceRuntimeType;
291 } 291 }
292 } 292 }
293 return js.JSObject.instanceRuntimeType; 293 return js.JSObject.instanceRuntimeType;
294 } 294 }
OLDNEW
« no previous file with comments | « sdk/lib/html/html_common/conversions_dart2js.dart ('k') | sdk/lib/html/html_common/css_class_set.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698