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

Side by Side Diff: client/html/release/html.dart

Issue 9127005: Properly type the clone method for Element and a few of its subclasses. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « no previous file | client/html/release/htmlimpl.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('html'); 1 #library('html');
2 2
3 #import('dart:dom', prefix:'dom'); 3 #import('dart:dom', prefix:'dom');
4 #import('dart:htmlimpl'); 4 #import('dart:htmlimpl');
5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 5 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
6 // for details. All rights reserved. Use of this source code is governed by a 6 // for details. All rights reserved. Use of this source code is governed by a
7 // BSD-style license that can be found in the LICENSE file. 7 // BSD-style license that can be found in the LICENSE file.
8 8
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated Dart HTML library. 10 // Auto-generated Dart HTML library.
(...skipping 11386 matching lines...) Expand 10 before | Expand all | Expand 10 after
11397 } 11397 }
11398 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11398 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11399 // for details. All rights reserved. Use of this source code is governed by a 11399 // for details. All rights reserved. Use of this source code is governed by a
11400 // BSD-style license that can be found in the LICENSE file. 11400 // BSD-style license that can be found in the LICENSE file.
11401 11401
11402 interface DocumentFragment extends Element default DocumentFragmentWrappingImple mentation { 11402 interface DocumentFragment extends Element default DocumentFragmentWrappingImple mentation {
11403 11403
11404 DocumentFragment(); 11404 DocumentFragment();
11405 11405
11406 DocumentFragment.html(String html); 11406 DocumentFragment.html(String html);
11407
11408 DocumentFragment clone(bool deep);
11407 } 11409 }
11408 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11410 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11409 // for details. All rights reserved. Use of this source code is governed by a 11411 // for details. All rights reserved. Use of this source code is governed by a
11410 // BSD-style license that can be found in the LICENSE file. 11412 // BSD-style license that can be found in the LICENSE file.
11411 11413
11412 interface DOMApplicationCacheEvents extends Events { 11414 interface DOMApplicationCacheEvents extends Events {
11413 EventListenerList get cached(); 11415 EventListenerList get cached();
11414 EventListenerList get checking(); 11416 EventListenerList get checking();
11415 EventListenerList get downloading(); 11417 EventListenerList get downloading();
11416 EventListenerList get error(); 11418 EventListenerList get error();
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
11629 11631
11630 bool matchesSelector([String selectors]); 11632 bool matchesSelector([String selectors]);
11631 11633
11632 Future<ElementRect> get rect(); 11634 Future<ElementRect> get rect();
11633 11635
11634 Future<CSSStyleDeclaration> get computedStyle(); 11636 Future<CSSStyleDeclaration> get computedStyle();
11635 11637
11636 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement); 11638 Future<CSSStyleDeclaration> getComputedStyle(String pseudoElement);
11637 11639
11638 ElementEvents get on(); 11640 ElementEvents get on();
11641
11642 Element clone(bool deep);
11639 } 11643 }
11640 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 11644 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
11641 // for details. All rights reserved. Use of this source code is governed by a 11645 // for details. All rights reserved. Use of this source code is governed by a
11642 // BSD-style license that can be found in the LICENSE file. 11646 // BSD-style license that can be found in the LICENSE file.
11643 11647
11644 interface ErrorEvent extends Event default ErrorEventWrappingImplementation { 11648 interface ErrorEvent extends Event default ErrorEventWrappingImplementation {
11645 11649
11646 ErrorEvent(String type, String message, String filename, int lineNo, 11650 ErrorEvent(String type, String message, String filename, int lineNo,
11647 [bool canBubble, bool cancelable]); 11651 [bool canBubble, bool cancelable]);
11648 11652
(...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after
12758 12762
12759 void set id(String value); 12763 void set id(String value);
12760 12764
12761 SVGSVGElement get ownerSVGElement(); 12765 SVGSVGElement get ownerSVGElement();
12762 12766
12763 SVGElement get viewportElement(); 12767 SVGElement get viewportElement();
12764 12768
12765 String get xmlbase(); 12769 String get xmlbase();
12766 12770
12767 void set xmlbase(String value); 12771 void set xmlbase(String value);
12772
12773 SVGElement clone(bool deep);
12768 } 12774 }
12769 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 12775 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
12770 // for details. All rights reserved. Use of this source code is governed by a 12776 // for details. All rights reserved. Use of this source code is governed by a
12771 // BSD-style license that can be found in the LICENSE file. 12777 // BSD-style license that can be found in the LICENSE file.
12772 12778
12773 // WARNING: Do not edit - generated code. 12779 // WARNING: Do not edit - generated code.
12774 12780
12775 interface SVGElementInstance extends EventTarget { 12781 interface SVGElementInstance extends EventTarget {
12776 12782
12777 SVGElementInstanceList get childNodes(); 12783 SVGElementInstanceList get childNodes();
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
13486 EventListenerList get abort(); 13492 EventListenerList get abort();
13487 EventListenerList get error(); 13493 EventListenerList get error();
13488 EventListenerList get load(); 13494 EventListenerList get load();
13489 EventListenerList get loadStart(); 13495 EventListenerList get loadStart();
13490 EventListenerList get progress(); 13496 EventListenerList get progress();
13491 } 13497 }
13492 13498
13493 interface XMLHttpRequestUpload extends EventTarget { 13499 interface XMLHttpRequestUpload extends EventTarget {
13494 XMLHttpRequestUploadEvents get on(); 13500 XMLHttpRequestUploadEvents get on();
13495 } 13501 }
OLDNEW
« no previous file with comments | « no previous file | client/html/release/htmlimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698