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

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

Issue 1752983003: Moved ChromiumSubscribeUniform to web_gl (Closed) Base URL: git@github.com:dart-lang/sdk.git@integration
Patch Set: Merged from integration to master Created 4 years, 9 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
« no previous file with comments | « no previous file | tools/dom/scripts/dartdomgenerator.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 part of html_common; 1 part of html_common;
2 2
3 convertDartToNative_PrepareForStructuredClone(value) => 3 convertDartToNative_PrepareForStructuredClone(value) =>
4 new _StructuredCloneDartium().convertDartToNative_PrepareForStructuredClone( value); 4 new _StructuredCloneDartium().convertDartToNative_PrepareForStructuredClone( value);
5 5
6 convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}) => 6 convertNativeToDart_AcceptStructuredClone(object, {mustCopy: false}) =>
7 new _AcceptStructuredCloneDartium().convertNativeToDart_AcceptStructuredClon e(object, mustCopy: mustCopy); 7 new _AcceptStructuredCloneDartium().convertNativeToDart_AcceptStructuredClon e(object, mustCopy: mustCopy);
8 8
9 class _StructuredCloneDartium extends _StructuredClone { 9 class _StructuredCloneDartium extends _StructuredClone {
10 newJsMap() => new js.JsObject(js.context["Object"]); 10 newJsMap() => new js.JsObject(js.context["Object"]);
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 } 114 }
115 115
116 Map get toMap => _values; 116 Map get toMap => _values;
117 117
118 _ReturnedDictionary(Map value): _values = value != null ? value : {}; 118 _ReturnedDictionary(Map value): _values = value != null ? value : {};
119 } 119 }
120 120
121 // Helper function to wrapped a returned dictionary from blink to a Dart looking 121 // Helper function to wrapped a returned dictionary from blink to a Dart looking
122 // class. 122 // class.
123 convertNativeDictionaryToDartDictionary(Map values) => new _ReturnedDictionary(v alues); 123 convertNativeDictionaryToDartDictionary(Map values) =>
124 values != null ? new _ReturnedDictionary(values) : null;
124 125
125 // Conversion function place holder (currently not used in dart2js or dartium). 126 // Conversion function place holder (currently not used in dart2js or dartium).
126 List convertDartToNative_StringArray(List<String> input) => input; 127 List convertDartToNative_StringArray(List<String> input) => input;
127 128
128 // Converts a Dart list into a JsArray. For the Dartium version only. 129 // Converts a Dart list into a JsArray. For the Dartium version only.
129 convertDartToNative_List(List input) => new js.JsArray()..addAll(input); 130 convertDartToNative_List(List input) => new js.JsArray()..addAll(input);
130 131
131 /// Find the underlying JS object for a dart:html Dart object. 132 /// Find the underlying JS object for a dart:html Dart object.
132 unwrap_jso(dartClass_instance) => js.unwrap_jso(dartClass_instance); 133 unwrap_jso(dartClass_instance) => js.unwrap_jso(dartClass_instance);
133 134
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 {'type': dartClass, 'extends': extendTag != null ? extendTag : "" }; 403 {'type': dartClass, 'extends': extendTag != null ? extendTag : "" };
403 } 404 }
404 405
405 Type getCustomElementType(object) { 406 Type getCustomElementType(object) {
406 var entry = getCustomElementEntry(object); 407 var entry = getCustomElementEntry(object);
407 if (entry != null) { 408 if (entry != null) {
408 return entry['type']; 409 return entry['type'];
409 } 410 }
410 return null; 411 return null;
411 } 412 }
OLDNEW
« no previous file with comments | « no previous file | tools/dom/scripts/dartdomgenerator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698