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

Side by Side Diff: client/html/src/Document.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years 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 | « client/html/release/html.dart ('k') | client/html/src/DocumentWrappingImplementation.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 // 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 interface DocumentEvents extends ElementEvents { 5 interface DocumentEvents extends ElementEvents {
6 EventListenerList get readyStateChange(); 6 EventListenerList get readyStateChange();
7 EventListenerList get selectionChange(); 7 EventListenerList get selectionChange();
8 EventListenerList get contentLoaded(); 8 EventListenerList get contentLoaded();
9 } 9 }
10 10
11 // TODO(jacobr): add DocumentFragment ctor 11 // TODO(jacobr): add DocumentFragment ctor
12 // add something smarted for document.domain 12 // add something smarted for document.domain
13 interface Document extends Element /*, common.NodeSelector */ { 13 interface Document extends Element /*, common.NodeSelector */ {
14 14
15 // TODO(jacobr): remove. 15 // TODO(jacobr): remove.
16 Event createEvent([String eventType]); 16 Event createEvent(String eventType);
17 17
18 Element get activeElement(); 18 Element get activeElement();
19 19
20 // TODO(jacobr): add 20 // TODO(jacobr): add
21 // Map<String, Class> tags; 21 // Map<String, Class> tags;
22 22
23 Element get body(); 23 Element get body();
24 24
25 void set body(Element value); 25 void set body(Element value);
26 26
(...skipping 27 matching lines...) Expand all
54 String get title(); 54 String get title();
55 55
56 void set title(String value); 56 void set title(String value);
57 57
58 bool get webkitHidden(); 58 bool get webkitHidden();
59 59
60 String get webkitVisibilityState(); 60 String get webkitVisibilityState();
61 61
62 Future<Range> caretRangeFromPoint([int x, int y]); 62 Future<Range> caretRangeFromPoint([int x, int y]);
63 63
64 // TODO(jacobr): remove.
65 Element createElement([String tagName]);
66
67 Future<Element> elementFromPoint([int x, int y]); 64 Future<Element> elementFromPoint([int x, int y]);
68 65
69 bool execCommand([String command, bool userInterface, String value]); 66 bool execCommand([String command, bool userInterface, String value]);
70 67
71 // TODO(jacobr): remove once a new API is specified 68 // TODO(jacobr): remove once a new API is specified
72 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, 69 CanvasRenderingContext getCSSCanvasContext(String contextId, String name,
73 int width, int height); 70 int width, int height);
74 71
75 bool queryCommandEnabled([String command]); 72 bool queryCommandEnabled([String command]);
76 73
77 bool queryCommandIndeterm([String command]); 74 bool queryCommandIndeterm([String command]);
78 75
79 bool queryCommandState([String command]); 76 bool queryCommandState([String command]);
80 77
81 bool queryCommandSupported([String command]); 78 bool queryCommandSupported([String command]);
82 79
83 String queryCommandValue([String command]); 80 String queryCommandValue([String command]);
84 81
85 String get manifest(); 82 String get manifest();
86 83
87 void set manifest(String value); 84 void set manifest(String value);
88 85
89 DocumentEvents get on(); 86 DocumentEvents get on();
90 87
91 Future<ElementRect> get rect(); 88 Future<ElementRect> get rect();
92 } 89 }
OLDNEW
« no previous file with comments | « client/html/release/html.dart ('k') | client/html/src/DocumentWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698