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

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

Issue 952133004: Changes to support roll 39 IDLs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Cleanup Created 5 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
« no previous file with comments | « tools/dom/scripts/systemnative.py ('k') | no next file » | 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) 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 @DocsEditable() 7 @DocsEditable()
8 $if DART2JS 8 $if DART2JS
9 $(ANNOTATIONS)@Native("Window,DOMWindow") 9 $(ANNOTATIONS)@Native("Window,DOMWindow")
10 $(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { 10 $(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 * applications cannot access file systems created in other web pages. 213 * applications cannot access file systems created in other web pages.
214 */ 214 */
215 Future<FileSystem> requestFileSystem(int size, {bool persistent: false}) { 215 Future<FileSystem> requestFileSystem(int size, {bool persistent: false}) {
216 return _requestFileSystem(persistent? 1 : 0, size); 216 return _requestFileSystem(persistent? 1 : 0, size);
217 } 217 }
218 218
219 /** 219 /**
220 * convertPointFromNodeToPage and convertPointFromPageToNode are removed. 220 * convertPointFromNodeToPage and convertPointFromPageToNode are removed.
221 * see http://dev.w3.org/csswg/cssom-view/#geometry 221 * see http://dev.w3.org/csswg/cssom-view/#geometry
222 */ 222 */
223 static bool get supportsPointConversions => _DomPoint.supported; 223 static bool get supportsPointConversions => true;
224 $!MEMBERS 224 $!MEMBERS
225 225
226 /** 226 /**
227 * Static factory designed to expose `beforeunload` events to event 227 * Static factory designed to expose `beforeunload` events to event
228 * handlers that are not necessarily instances of [Window]. 228 * handlers that are not necessarily instances of [Window].
229 * 229 *
230 * See [EventStreamProvider] for usage information. 230 * See [EventStreamProvider] for usage information.
231 */ 231 */
232 @DomName('Window.beforeunloadEvent') 232 @DomName('Window.beforeunloadEvent')
233 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent = 233 static const EventStreamProvider<BeforeUnloadEvent> beforeUnloadEvent =
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 360
361 ElementStream<BeforeUnloadEvent> forElement(Element e, {bool useCapture: false }) { 361 ElementStream<BeforeUnloadEvent> forElement(Element e, {bool useCapture: false }) {
362 return new _ElementEventStreamImpl(e, _eventType, useCapture); 362 return new _ElementEventStreamImpl(e, _eventType, useCapture);
363 } 363 }
364 364
365 ElementStream<BeforeUnloadEvent> _forElementList(ElementList e, 365 ElementStream<BeforeUnloadEvent> _forElementList(ElementList e,
366 {bool useCapture: false}) { 366 {bool useCapture: false}) {
367 return new _ElementListEventStreamImpl(e, _eventType, useCapture); 367 return new _ElementListEventStreamImpl(e, _eventType, useCapture);
368 } 368 }
369 } 369 }
OLDNEW
« no previous file with comments | « tools/dom/scripts/systemnative.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698