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

Side by Side Diff: client/dom/generated/src/wrapping/_DOMWindowWrappingImplementation.dart

Issue 8344019: Remove createXMLHttpRequest and other 'factory' constructors. (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
« no previous file with comments | « client/dom/generated/src/interface/DOMWindow.dart ('k') | client/dom/generated/wrapping_dom.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 class _DOMWindowWrappingImplementation extends DOMWrapperBase implements DOMWind ow { 7 class _DOMWindowWrappingImplementation extends DOMWrapperBase implements DOMWind ow {
8 _DOMWindowWrappingImplementation() : super() {} 8 _DOMWindowWrappingImplementation() : super() {}
9 9
10 static create__DOMWindowWrappingImplementation() native { 10 static create__DOMWindowWrappingImplementation() native {
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
751 _close(this); 751 _close(this);
752 return; 752 return;
753 } 753 }
754 static void _close(receiver) native; 754 static void _close(receiver) native;
755 755
756 bool confirm(String message) { 756 bool confirm(String message) {
757 return _confirm(this, message); 757 return _confirm(this, message);
758 } 758 }
759 static bool _confirm(receiver, message) native; 759 static bool _confirm(receiver, message) native;
760 760
761 FileReader createFileReader() {
762 return _createFileReader(this);
763 }
764 static FileReader _createFileReader(receiver) native;
765
766 WebKitCSSMatrix createWebKitCSSMatrix([String cssValue = null]) {
767 if (cssValue === null) {
768 return _createWebKitCSSMatrix(this);
769 } else {
770 return _createWebKitCSSMatrix_2(this, cssValue);
771 }
772 }
773 static WebKitCSSMatrix _createWebKitCSSMatrix(receiver) native;
774 static WebKitCSSMatrix _createWebKitCSSMatrix_2(receiver, cssValue) native;
775
776 WebKitPoint createWebKitPoint(num x, num y) {
777 return _createWebKitPoint(this, x, y);
778 }
779 static WebKitPoint _createWebKitPoint(receiver, x, y) native;
780
781 XMLHttpRequest createXMLHttpRequest() {
782 return _createXMLHttpRequest(this);
783 }
784 static XMLHttpRequest _createXMLHttpRequest(receiver) native;
785
786 bool dispatchEvent(Event evt) { 761 bool dispatchEvent(Event evt) {
787 return _dispatchEvent(this, evt); 762 return _dispatchEvent(this, evt);
788 } 763 }
789 static bool _dispatchEvent(receiver, evt) native; 764 static bool _dispatchEvent(receiver, evt) native;
790 765
791 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) { 766 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) {
792 return _find(this, string, caseSensitive, backwards, wrap, wholeWord, search InFrames, showDialog); 767 return _find(this, string, caseSensitive, backwards, wrap, wholeWord, search InFrames, showDialog);
793 } 768 }
794 static bool _find(receiver, string, caseSensitive, backwards, wrap, wholeWord, searchInFrames, showDialog) native; 769 static bool _find(receiver, string, caseSensitive, backwards, wrap, wholeWord, searchInFrames, showDialog) native;
795 770
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 } 937 }
963 static WebKitPoint _webkitConvertPointFromPageToNode(receiver, node, p) native ; 938 static WebKitPoint _webkitConvertPointFromPageToNode(receiver, node, p) native ;
964 939
965 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element) { 940 int webkitRequestAnimationFrame(RequestAnimationFrameCallback callback, Elemen t element) {
966 return _webkitRequestAnimationFrame(this, callback, element); 941 return _webkitRequestAnimationFrame(this, callback, element);
967 } 942 }
968 static int _webkitRequestAnimationFrame(receiver, callback, element) native; 943 static int _webkitRequestAnimationFrame(receiver, callback, element) native;
969 944
970 String get typeName() { return "DOMWindow"; } 945 String get typeName() { return "DOMWindow"; }
971 } 946 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/interface/DOMWindow.dart ('k') | client/dom/generated/wrapping_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698