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

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

Issue 9539003: Safely wrap window.top in frog dom. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments and merge Created 8 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 | 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 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 class _EntryWrappingImplementation extends DOMWrapperBase implements Entry { 7 class _EntryWrappingImplementation extends DOMWrapperBase implements Entry {
8 _EntryWrappingImplementation() : super() {} 8 _EntryWrappingImplementation() : super() {}
9 9
10 static create__EntryWrappingImplementation() native { 10 static create__EntryWrappingImplementation() native {
11 return new _EntryWrappingImplementation(); 11 return new _EntryWrappingImplementation();
12 } 12 }
13 13
14 DOMFileSystem get filesystem() { return _get_filesystem(this); } 14 DOMFileSystem get filesystem() { return _get_filesystem(this); }
15 static DOMFileSystem _get_filesystem(var _this) native; 15 static DOMFileSystem _get_filesystem(var _this) native;
16 16
17 String get fullPath() { return _get_fullPath(this); } 17 String get fullPath() { return _get_fullPath(this); }
18 static String _get_fullPath(var _this) native; 18 static String _get_fullPath(var _this) native;
19 19
20 bool get isDirectory() { return _get_isDirectory(this); } 20 bool get isDirectory() { return _get_isDirectory(this); }
21 static bool _get_isDirectory(var _this) native; 21 static bool _get_isDirectory(var _this) native;
22 22
23 bool get isFile() { return _get_isFile(this); } 23 bool get isFile() { return _get_isFile(this); }
24 static bool _get_isFile(var _this) native; 24 static bool _get_isFile(var _this) native;
25 25
26 String get name() { return _get_name(this); } 26 String get name() { return _get_name(this); }
27 static String _get_name(var _this) native; 27 static String _get_name(var _this) native;
28 28
29 void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) { 29 void copyTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) {
30 if (name === null) { 30 _copyTo(this, parent, name, successCallback, errorCallback);
31 if (successCallback === null) { 31 return;
32 if (errorCallback === null) {
33 _copyTo(this, parent);
34 return;
35 }
36 }
37 } else {
38 if (successCallback === null) {
39 if (errorCallback === null) {
40 _copyTo_2(this, parent, name);
41 return;
42 }
43 } else {
44 if (errorCallback === null) {
45 _copyTo_3(this, parent, name, successCallback);
46 return;
47 } else {
48 _copyTo_4(this, parent, name, successCallback, errorCallback);
49 return;
50 }
51 }
52 }
53 throw "Incorrect number or type of arguments";
54 } 32 }
55 static void _copyTo(receiver, parent) native; 33 static void _copyTo(receiver, parent, name, successCallback, errorCallback) na tive;
56 static void _copyTo_2(receiver, parent, name) native;
57 static void _copyTo_3(receiver, parent, name, successCallback) native;
58 static void _copyTo_4(receiver, parent, name, successCallback, errorCallback) native;
59 34
60 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k = null]) { 35 void getMetadata(MetadataCallback successCallback, [ErrorCallback errorCallbac k = null]) {
61 if (errorCallback === null) { 36 _getMetadata(this, successCallback, errorCallback);
62 _getMetadata(this, successCallback); 37 return;
63 return;
64 } else {
65 _getMetadata_2(this, successCallback, errorCallback);
66 return;
67 }
68 } 38 }
69 static void _getMetadata(receiver, successCallback) native; 39 static void _getMetadata(receiver, successCallback, errorCallback) native;
70 static void _getMetadata_2(receiver, successCallback, errorCallback) native;
71 40
72 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) { 41 void getParent([EntryCallback successCallback = null, ErrorCallback errorCallb ack = null]) {
73 if (successCallback === null) { 42 _getParent(this, successCallback, errorCallback);
74 if (errorCallback === null) { 43 return;
75 _getParent(this);
76 return;
77 }
78 } else {
79 if (errorCallback === null) {
80 _getParent_2(this, successCallback);
81 return;
82 } else {
83 _getParent_3(this, successCallback, errorCallback);
84 return;
85 }
86 }
87 throw "Incorrect number or type of arguments";
88 } 44 }
89 static void _getParent(receiver) native; 45 static void _getParent(receiver, successCallback, errorCallback) native;
90 static void _getParent_2(receiver, successCallback) native;
91 static void _getParent_3(receiver, successCallback, errorCallback) native;
92 46
93 void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) { 47 void moveTo(DirectoryEntry parent, [String name = null, EntryCallback successC allback = null, ErrorCallback errorCallback = null]) {
94 if (name === null) { 48 _moveTo(this, parent, name, successCallback, errorCallback);
95 if (successCallback === null) { 49 return;
96 if (errorCallback === null) {
97 _moveTo(this, parent);
98 return;
99 }
100 }
101 } else {
102 if (successCallback === null) {
103 if (errorCallback === null) {
104 _moveTo_2(this, parent, name);
105 return;
106 }
107 } else {
108 if (errorCallback === null) {
109 _moveTo_3(this, parent, name, successCallback);
110 return;
111 } else {
112 _moveTo_4(this, parent, name, successCallback, errorCallback);
113 return;
114 }
115 }
116 }
117 throw "Incorrect number or type of arguments";
118 } 50 }
119 static void _moveTo(receiver, parent) native; 51 static void _moveTo(receiver, parent, name, successCallback, errorCallback) na tive;
120 static void _moveTo_2(receiver, parent, name) native;
121 static void _moveTo_3(receiver, parent, name, successCallback) native;
122 static void _moveTo_4(receiver, parent, name, successCallback, errorCallback) native;
123 52
124 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null] ) { 53 void remove(VoidCallback successCallback, [ErrorCallback errorCallback = null] ) {
125 if (errorCallback === null) { 54 _remove(this, successCallback, errorCallback);
126 _remove(this, successCallback); 55 return;
127 return;
128 } else {
129 _remove_2(this, successCallback, errorCallback);
130 return;
131 }
132 } 56 }
133 static void _remove(receiver, successCallback) native; 57 static void _remove(receiver, successCallback, errorCallback) native;
134 static void _remove_2(receiver, successCallback, errorCallback) native;
135 58
136 String toURL() { 59 String toURL() {
137 return _toURL(this); 60 return _toURL(this);
138 } 61 }
139 static String _toURL(receiver) native; 62 static String _toURL(receiver) native;
140 63
141 String get typeName() { return "Entry"; } 64 String get typeName() { return "Entry"; }
142 } 65 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698