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

Side by Side Diff: client/dom/generated/wrapping_dom.js

Issue 8216018: Added DOM MessagePort support. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 // DO NOT EDIT 5 // DO NOT EDIT
6 // Auto-generated Dart DOM implementation. 6 // Auto-generated Dart DOM implementation.
7 7
8 8
9 function native__AbstractWorkerWrappingImplementation__get__AbstractWorker_onerr or(_this) { 9 function native__AbstractWorkerWrappingImplementation__get__AbstractWorker_onerr or(_this) {
10 try { 10 try {
(...skipping 19620 matching lines...) Expand 10 before | Expand all | Expand 10 after
19631 } 19631 }
19632 19632
19633 function native__MessageEventWrappingImplementation__initMessageEvent(_this, typ eArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg , messagePort) { 19633 function native__MessageEventWrappingImplementation__initMessageEvent(_this, typ eArg, canBubbleArg, cancelableArg, dataArg, originArg, lastEventIdArg, sourceArg , messagePort) {
19634 try { 19634 try {
19635 return __dom_wrap(_this.$dom.initMessageEvent(__dom_unwrap(typeArg), __dom_u nwrap(canBubbleArg), __dom_unwrap(cancelableArg), __dom_unwrap(dataArg), __dom_u nwrap(originArg), __dom_unwrap(lastEventIdArg), __dom_unwrap(sourceArg), __dom_u nwrap(messagePort))); 19635 return __dom_wrap(_this.$dom.initMessageEvent(__dom_unwrap(typeArg), __dom_u nwrap(canBubbleArg), __dom_unwrap(cancelableArg), __dom_unwrap(dataArg), __dom_u nwrap(originArg), __dom_unwrap(lastEventIdArg), __dom_unwrap(sourceArg), __dom_u nwrap(messagePort)));
19636 } catch (e) { 19636 } catch (e) {
19637 throw __dom_wrap_exception(e); 19637 throw __dom_wrap_exception(e);
19638 } 19638 }
19639 } 19639 }
19640 19640
19641 function native__MessagePortWrappingImplementation__get__MessagePort_onmessage(_ this) {
19642 try {
19643 return __dom_wrap(_this.$dom.onmessage);
19644 } catch (e) {
19645 throw __dom_wrap_exception(e);
19646 }
19647 }
19648
19649 function native__MessagePortWrappingImplementation__set__MessagePort_onmessage(_ this, value) {
19650 try {
19651 _this.$dom.onmessage = __dom_unwrap(value);
19652 } catch (e) {
19653 throw __dom_wrap_exception(e);
19654 }
19655 }
19656
19657 function native__MessagePortWrappingImplementation__addEventListener(_this, type , listener) {
19658 try {
19659 return __dom_wrap(_this.$dom.addEventListener(__dom_unwrap(type), __dom_unwr ap(listener)));
19660 } catch (e) {
19661 throw __dom_wrap_exception(e);
19662 }
19663 }
19664
19665 function native__MessagePortWrappingImplementation__addEventListener_2(_this, ty pe, listener, useCapture) {
19666 try {
19667 return __dom_wrap(_this.$dom.addEventListener(__dom_unwrap(type), __dom_unwr ap(listener), __dom_unwrap(useCapture)));
19668 } catch (e) {
19669 throw __dom_wrap_exception(e);
19670 }
19671 }
19672
19673 function native__MessagePortWrappingImplementation__close(_this) {
19674 try {
19675 return __dom_wrap(_this.$dom.close());
19676 } catch (e) {
19677 throw __dom_wrap_exception(e);
19678 }
19679 }
19680
19681 function native__MessagePortWrappingImplementation__dispatchEvent(_this, evt) {
19682 try {
19683 return __dom_wrap(_this.$dom.dispatchEvent(__dom_unwrap(evt)));
19684 } catch (e) {
19685 throw __dom_wrap_exception(e);
19686 }
19687 }
19688
19689 function native__MessagePortWrappingImplementation__postMessage(_this, message) {
19690 try {
19691 return __dom_wrap(_this.$dom.postMessage(__dom_unwrap(message)));
19692 } catch (e) {
19693 throw __dom_wrap_exception(e);
19694 }
19695 }
19696
19697 function native__MessagePortWrappingImplementation__removeEventListener(_this, t ype, listener) {
19698 try {
19699 return __dom_wrap(_this.$dom.removeEventListener(__dom_unwrap(type), __dom_u nwrap(listener)));
19700 } catch (e) {
19701 throw __dom_wrap_exception(e);
19702 }
19703 }
19704
19705 function native__MessagePortWrappingImplementation__removeEventListener_2(_this, type, listener, useCapture) {
19706 try {
19707 return __dom_wrap(_this.$dom.removeEventListener(__dom_unwrap(type), __dom_u nwrap(listener), __dom_unwrap(useCapture)));
19708 } catch (e) {
19709 throw __dom_wrap_exception(e);
19710 }
19711 }
19712
19713 function native__MessagePortWrappingImplementation__start(_this) {
19714 try {
19715 return __dom_wrap(_this.$dom.start());
19716 } catch (e) {
19717 throw __dom_wrap_exception(e);
19718 }
19719 }
19720
19721 function native__MessagePortWrappingImplementation__webkitPostMessage(_this, mes sage) {
19722 try {
19723 return __dom_wrap(_this.$dom.webkitPostMessage(__dom_unwrap(message)));
19724 } catch (e) {
19725 throw __dom_wrap_exception(e);
19726 }
19727 }
19728
19641 function native__MetadataWrappingImplementation__get__Metadata_modificationTime( _this) { 19729 function native__MetadataWrappingImplementation__get__Metadata_modificationTime( _this) {
19642 try { 19730 try {
19643 return __dom_wrap(_this.$dom.modificationTime); 19731 return __dom_wrap(_this.$dom.modificationTime);
19644 } catch (e) { 19732 } catch (e) {
19645 throw __dom_wrap_exception(e); 19733 throw __dom_wrap_exception(e);
19646 } 19734 }
19647 } 19735 }
19648 19736
19649 function native__MetadataCallbackWrappingImplementation__handleEvent(_this, meta data) { 19737 function native__MetadataCallbackWrappingImplementation__handleEvent(_this, meta data) {
19650 try { 19738 try {
(...skipping 7086 matching lines...) Expand 10 before | Expand all | Expand 10 after
26737 function native__NativeDomGlobalProperties_getWindow() { 26825 function native__NativeDomGlobalProperties_getWindow() {
26738 // TODO: Should the window be obtained from an isolate? 26826 // TODO: Should the window be obtained from an isolate?
26739 return __dom_wrap(window); 26827 return __dom_wrap(window);
26740 } 26828 }
26741 26829
26742 // Declared in src/GlobalProperties.dart 26830 // Declared in src/GlobalProperties.dart
26743 function native__NativeDomGlobalProperties_getDocument() { 26831 function native__NativeDomGlobalProperties_getDocument() {
26744 // TODO: Should the window be obtained from an isolate? 26832 // TODO: Should the window be obtained from an isolate?
26745 return __dom_wrap(window.document); 26833 return __dom_wrap(window.document);
26746 } 26834 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698