| 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 part of html; | 5 part of html; |
| 6 | 6 |
| 7 class _ConsoleVariables { | 7 class _ConsoleVariables { |
| 8 Map<String, Object> _data = new Map<String, Object>(); | 8 Map<String, Object> _data = new Map<String, Object>(); |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 | 422 |
| 423 static void _register(Document document, String tag, Type customType, | 423 static void _register(Document document, String tag, Type customType, |
| 424 String extendsTagName) => _blink.Native_Utils_register(document, tag, custom
Type, extendsTagName); | 424 String extendsTagName) => _blink.Native_Utils_register(document, tag, custom
Type, extendsTagName); |
| 425 | 425 |
| 426 static Element createElement(Document document, String tagName) => | 426 static Element createElement(Document document, String tagName) => |
| 427 _blink.Native_Utils_createElement(document, tagName); | 427 _blink.Native_Utils_createElement(document, tagName); |
| 428 | 428 |
| 429 static void initializeCustomElement(HtmlElement element) => | 429 static void initializeCustomElement(HtmlElement element) => |
| 430 _blink.Native_Utils_initializeCustomElement(element); | 430 _blink.Native_Utils_initializeCustomElement(element); |
| 431 | 431 |
| 432 static void changeElementWrapper(HtmlElement element, Type type) => | 432 static Element changeElementWrapper(HtmlElement element, Type type) => |
| 433 _blink.Native_Utils_changeElementWrapper(element, type); | 433 _blink.Native_Utils_changeElementWrapper(element, type); |
| 434 } | 434 } |
| 435 | 435 |
| 436 class _DOMWindowCrossFrame extends NativeFieldWrapperClass2 implements | 436 class _DOMWindowCrossFrame extends NativeFieldWrapperClass2 implements |
| 437 WindowBase { | 437 WindowBase { |
| 438 _DOMWindowCrossFrame.internal(); | 438 _DOMWindowCrossFrame.internal(); |
| 439 | 439 |
| 440 // Fields. | 440 // Fields. |
| 441 HistoryBase get history => _blink.Native_DOMWindowCrossFrame_get_history(this)
; | 441 HistoryBase get history => _blink.Native_DOMWindowCrossFrame_get_history(this)
; |
| 442 LocationBase get location => _blink.Native_DOMWindowCrossFrame_get_location(th
is); | 442 LocationBase get location => _blink.Native_DOMWindowCrossFrame_get_location(th
is); |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 609 _scheduleImmediateHelper._schedule(callback); | 609 _scheduleImmediateHelper._schedule(callback); |
| 610 }; | 610 }; |
| 611 | 611 |
| 612 get _pureIsolateScheduleImmediateClosure => ((void callback()) => | 612 get _pureIsolateScheduleImmediateClosure => ((void callback()) => |
| 613 throw new UnimplementedError("scheduleMicrotask in background isolates " | 613 throw new UnimplementedError("scheduleMicrotask in background isolates " |
| 614 "are not supported in the browser")); | 614 "are not supported in the browser")); |
| 615 | 615 |
| 616 void _initializeCustomElement(Element e) { | 616 void _initializeCustomElement(Element e) { |
| 617 _Utils.initializeCustomElement(e); | 617 _Utils.initializeCustomElement(e); |
| 618 } | 618 } |
| OLD | NEW |