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

Side by Side Diff: client/dom/generated/src/wrapping/_FileEntryWrappingImplementation.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 _FileEntryWrappingImplementation extends _EntryWrappingImplementation impl ements FileEntry { 7 class _FileEntryWrappingImplementation extends _EntryWrappingImplementation impl ements FileEntry {
8 _FileEntryWrappingImplementation() : super() {} 8 _FileEntryWrappingImplementation() : super() {}
9 9
10 static create__FileEntryWrappingImplementation() native { 10 static create__FileEntryWrappingImplementation() native {
11 return new _FileEntryWrappingImplementation(); 11 return new _FileEntryWrappingImplementation();
12 } 12 }
13 13
14 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back = null]) { 14 void createWriter(FileWriterCallback successCallback, [ErrorCallback errorCall back = null]) {
15 if (errorCallback === null) { 15 _createWriter(this, successCallback, errorCallback);
16 _createWriter(this, successCallback); 16 return;
17 return;
18 } else {
19 _createWriter_2(this, successCallback, errorCallback);
20 return;
21 }
22 } 17 }
23 static void _createWriter(receiver, successCallback) native; 18 static void _createWriter(receiver, successCallback, errorCallback) native;
24 static void _createWriter_2(receiver, successCallback, errorCallback) native;
25 19
26 void file(FileCallback successCallback, [ErrorCallback errorCallback = null]) { 20 void file(FileCallback successCallback, [ErrorCallback errorCallback = null]) {
27 if (errorCallback === null) { 21 _file(this, successCallback, errorCallback);
28 _file(this, successCallback); 22 return;
29 return;
30 } else {
31 _file_2(this, successCallback, errorCallback);
32 return;
33 }
34 } 23 }
35 static void _file(receiver, successCallback) native; 24 static void _file(receiver, successCallback, errorCallback) native;
36 static void _file_2(receiver, successCallback, errorCallback) native;
37 25
38 String get typeName() { return "FileEntry"; } 26 String get typeName() { return "FileEntry"; }
39 } 27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698