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

Side by Side Diff: client/dom/generated/src/wrapping/_DirectoryReaderWrappingImplementation.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 _DirectoryReaderWrappingImplementation extends DOMWrapperBase implements D irectoryReader { 7 class _DirectoryReaderWrappingImplementation extends DOMWrapperBase implements D irectoryReader {
8 _DirectoryReaderWrappingImplementation() : super() {} 8 _DirectoryReaderWrappingImplementation() : super() {}
9 9
10 static create__DirectoryReaderWrappingImplementation() native { 10 static create__DirectoryReaderWrappingImplementation() native {
11 return new _DirectoryReaderWrappingImplementation(); 11 return new _DirectoryReaderWrappingImplementation();
12 } 12 }
13 13
14 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback = null]) { 14 void readEntries(EntriesCallback successCallback, [ErrorCallback errorCallback = null]) {
15 if (errorCallback === null) { 15 _readEntries(this, successCallback, errorCallback);
16 _readEntries(this, successCallback); 16 return;
17 return;
18 } else {
19 _readEntries_2(this, successCallback, errorCallback);
20 return;
21 }
22 } 17 }
23 static void _readEntries(receiver, successCallback) native; 18 static void _readEntries(receiver, successCallback, errorCallback) native;
24 static void _readEntries_2(receiver, successCallback, errorCallback) native;
25 19
26 String get typeName() { return "DirectoryReader"; } 20 String get typeName() { return "DirectoryReader"; }
27 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698