| 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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 _register(document, tag, type, extendsTagName); | 410 _register(document, tag, type, extendsTagName); |
| 411 } | 411 } |
| 412 | 412 |
| 413 static void _register(Document document, String tag, Type customType, | 413 static void _register(Document document, String tag, Type customType, |
| 414 String extendsTagName) native "Utils_register"; | 414 String extendsTagName) native "Utils_register"; |
| 415 | 415 |
| 416 static Element createElement(Document document, String tagName) native "Utils_
createElement"; | 416 static Element createElement(Document document, String tagName) native "Utils_
createElement"; |
| 417 | 417 |
| 418 static void initializeCustomElement(HtmlElement element) native "Utils_initial
izeCustomElement"; | 418 static void initializeCustomElement(HtmlElement element) native "Utils_initial
izeCustomElement"; |
| 419 | 419 |
| 420 static void changeElementWrapper(HtmlElement element, Type type) native "Utils
_changeElementWrapper"; | 420 static Element changeElementWrapper(HtmlElement element, Type type) native "Ut
ils_changeElementWrapper"; |
| 421 } | 421 } |
| 422 | 422 |
| 423 class _DOMWindowCrossFrame extends NativeFieldWrapperClass2 implements | 423 class _DOMWindowCrossFrame extends NativeFieldWrapperClass2 implements |
| 424 WindowBase { | 424 WindowBase { |
| 425 _DOMWindowCrossFrame.internal(); | 425 _DOMWindowCrossFrame.internal(); |
| 426 | 426 |
| 427 // Fields. | 427 // Fields. |
| 428 HistoryBase get history native "Window_history_cross_frame_Getter"; | 428 HistoryBase get history native "Window_history_cross_frame_Getter"; |
| 429 LocationBase get location native "Window_location_cross_frame_Getter"; | 429 LocationBase get location native "Window_location_cross_frame_Getter"; |
| 430 bool get closed native "Window_closed_Getter"; | 430 bool get closed native "Window_closed_Getter"; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 596 _scheduleImmediateHelper._schedule(callback); | 596 _scheduleImmediateHelper._schedule(callback); |
| 597 }; | 597 }; |
| 598 | 598 |
| 599 get _pureIsolateScheduleImmediateClosure => ((void callback()) => | 599 get _pureIsolateScheduleImmediateClosure => ((void callback()) => |
| 600 throw new UnimplementedError("scheduleMicrotask in background isolates " | 600 throw new UnimplementedError("scheduleMicrotask in background isolates " |
| 601 "are not supported in the browser")); | 601 "are not supported in the browser")); |
| 602 | 602 |
| 603 void _initializeCustomElement(Element e) { | 603 void _initializeCustomElement(Element e) { |
| 604 _Utils.initializeCustomElement(e); | 604 _Utils.initializeCustomElement(e); |
| 605 } | 605 } |
| OLD | NEW |