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

Side by Side Diff: tools/dom/templates/html/impl/impl_Window.darttemplate

Issue 12474007: Revert 20127 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 part of $LIBRARYNAME; 5 part of $LIBRARYNAME;
6 6
7 $if DART2JS 7 $if DART2JS
8 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" { 8 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS native "@*DOMWindow" {
9 $else 9 $else
10 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { 10 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 $else 218 $else
219 /// Checks if _setImmediate is supported. 219 /// Checks if _setImmediate is supported.
220 static bool get _supportsSetImmediate => false; 220 static bool get _supportsSetImmediate => false;
221 221
222 /// Dartium stub for IE's setImmediate. 222 /// Dartium stub for IE's setImmediate.
223 void _setImmediate(void callback()) { 223 void _setImmediate(void callback()) {
224 throw new UnsupportedError('setImmediate is not supported'); 224 throw new UnsupportedError('setImmediate is not supported');
225 } 225 }
226 $endif 226 $endif
227 227
228 /**
229 * Access a sandboxed file system of the specified `size`. If `persistent` is
230 * true, the application will request permission from the user to create
231 * lasting storage. This storage cannot be freed without the user's
232 * permission. Returns a [Future] whose value stores a reference to the
233 * sandboxed file system for use. Because the file system is sandboxed,
234 * applications cannot access file systems created in other web pages.
235 */
236 Future<FileSystem> requestFileSystem(int size, {bool persistent: false}) {
237 return _requestFileSystem(persistent? 1 : 0, size);
238 }
239 $!MEMBERS 228 $!MEMBERS
240 } 229 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698