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

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

Issue 9145004: Revert "Example showing alternate async measurement solution" (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
OLDNEW
1 // Copyright (c) 2012, 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
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 // TODO(jacobr): should this be removed? Users could write document.query("tit le").text instead. 53 // TODO(jacobr): should this be removed? Users could write document.query("tit le").text instead.
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 /** Only call when [window.inMeasurementFrame] is true. */ 62 Future<Range> caretRangeFromPoint([int x, int y]);
63 Range caretRangeFromPoint([int x, int y]);
64 63
65 /** Only call when [window.inMeasurementFrame] is true. */ 64 Future<Element> elementFromPoint([int x, int y]);
66 Element elementFromPoint([int x, int y]);
67 65
68 bool execCommand([String command, bool userInterface, String value]); 66 bool execCommand([String command, bool userInterface, String value]);
69 67
70 // TODO(jacobr): remove once a new API is specified 68 // TODO(jacobr): remove once a new API is specified
71 CanvasRenderingContext getCSSCanvasContext(String contextId, String name, 69 CanvasRenderingContext getCSSCanvasContext(String contextId, String name,
72 int width, int height); 70 int width, int height);
73 71
74 bool queryCommandEnabled([String command]); 72 bool queryCommandEnabled([String command]);
75 73
76 bool queryCommandIndeterm([String command]); 74 bool queryCommandIndeterm([String command]);
77 75
78 bool queryCommandState([String command]); 76 bool queryCommandState([String command]);
79 77
80 bool queryCommandSupported([String command]); 78 bool queryCommandSupported([String command]);
81 79
82 String queryCommandValue([String command]); 80 String queryCommandValue([String command]);
83 81
84 String get manifest(); 82 String get manifest();
85 83
86 void set manifest(String value); 84 void set manifest(String value);
87 85
88 DocumentEvents get on(); 86 DocumentEvents get on();
87
88 Future<ElementRect> get rect();
89 } 89 }
OLDNEW
« no previous file with comments | « client/html/src/CssClassSet.dart ('k') | client/html/src/DocumentFragmentWrappingImplementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698