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

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

Issue 1578103003: Add an Unstable comment/annotation on caretRangeFromPoint (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('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 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 part of $LIBRARYNAME; 7 part of $LIBRARYNAME;
8 8
9 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS { 9 $(ANNOTATIONS)$(NATIVESPEC)$(CLASS_MODIFIERS)class $CLASSNAME$EXTENDS$IMPLEMENTS {
10 $!MEMBERS 10 $!MEMBERS
11 11
12 $if DART2JS 12 $if DART2JS
13 @DomName('Document.body') 13 @DomName('Document.body')
14 BodyElement body; 14 BodyElement body;
15 $else 15 $else
16 @DomName('Document.body') 16 @DomName('Document.body')
17 BodyElement get body => _body; 17 BodyElement get body => _body;
18 18
19 @DomName('Document.body') 19 @DomName('Document.body')
20 set body(BodyElement value) { 20 set body(BodyElement value) {
21 _body = value; 21 _body = value;
22 } 22 }
23 $endif 23 $endif
24 24
25 /// UNSTABLE: Chrome-only - create a Range from the given point.
25 @DomName('Document.caretRangeFromPoint') 26 @DomName('Document.caretRangeFromPoint')
27 @Unstable()
26 Range caretRangeFromPoint(int x, int y) { 28 Range caretRangeFromPoint(int x, int y) {
27 return _caretRangeFromPoint(x, y); 29 return _caretRangeFromPoint(x, y);
28 } 30 }
29 31
30 @DomName('Document.elementFromPoint') 32 @DomName('Document.elementFromPoint')
31 Element elementFromPoint(int x, int y) { 33 Element elementFromPoint(int x, int y) {
32 return _elementFromPoint(x, y); 34 return _elementFromPoint(x, y);
33 } 35 }
34 36
35 /** 37 /**
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 /// parameter must be provided. 559 /// parameter must be provided.
558 @Experimental() 560 @Experimental()
559 ElementUpgrader createElementUpgrader(Type type, {String extendsTag}) { 561 ElementUpgrader createElementUpgrader(Type type, {String extendsTag}) {
560 $if DART2JS 562 $if DART2JS
561 return new _JSElementUpgrader(this, type, extendsTag); 563 return new _JSElementUpgrader(this, type, extendsTag);
562 $else 564 $else
563 return new _VMElementUpgrader(this, type, extendsTag); 565 return new _VMElementUpgrader(this, type, extendsTag);
564 $endif 566 $endif
565 } 567 }
566 } 568 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698