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

Side by Side Diff: sdk/lib/html/dart2js/html_dart2js.dart

Issue 11428028: Fixing renamer- I messed up a merge and broke the renaming from the CL to dartify members. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | sdk/lib/html/dartium/html_dartium.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:isolate'; 3 import 'dart:isolate';
4 import 'dart:json'; 4 import 'dart:json';
5 import 'dart:svg' as svg; 5 import 'dart:svg' as svg;
6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7 // for details. All rights reserved. Use of this source code is governed by a 7 // for details. All rights reserved. Use of this source code is governed by a
8 // BSD-style license that can be found in the LICENSE file. 8 // BSD-style license that can be found in the LICENSE file.
9 9
10 // DO NOT EDIT 10 // DO NOT EDIT
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 /// @domName HTMLAnchorElement.search; @docsEditable true 167 /// @domName HTMLAnchorElement.search; @docsEditable true
168 String search; 168 String search;
169 169
170 /// @domName HTMLAnchorElement.shape; @docsEditable true 170 /// @domName HTMLAnchorElement.shape; @docsEditable true
171 String shape; 171 String shape;
172 172
173 /// @domName HTMLAnchorElement.target; @docsEditable true 173 /// @domName HTMLAnchorElement.target; @docsEditable true
174 String target; 174 String target;
175 175
176 /// @domName HTMLAnchorElement.text; @docsEditable true
177 final String text;
178
179 /// @domName HTMLAnchorElement.type; @docsEditable true 176 /// @domName HTMLAnchorElement.type; @docsEditable true
180 String type; 177 String type;
181 178
182 /// @domName HTMLAnchorElement.toString; @docsEditable true 179 /// @domName HTMLAnchorElement.toString; @docsEditable true
183 String toString() native; 180 String toString() native;
184 } 181 }
185 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 182 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
186 // for details. All rights reserved. Use of this source code is governed by a 183 // for details. All rights reserved. Use of this source code is governed by a
187 // BSD-style license that can be found in the LICENSE file. 184 // BSD-style license that can be found in the LICENSE file.
188 185
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 948
952 /// @domName HTMLBodyElement.background; @docsEditable true 949 /// @domName HTMLBodyElement.background; @docsEditable true
953 String background; 950 String background;
954 951
955 /// @domName HTMLBodyElement.bgColor; @docsEditable true 952 /// @domName HTMLBodyElement.bgColor; @docsEditable true
956 String bgColor; 953 String bgColor;
957 954
958 /// @domName HTMLBodyElement.link; @docsEditable true 955 /// @domName HTMLBodyElement.link; @docsEditable true
959 String link; 956 String link;
960 957
961 /// @domName HTMLBodyElement.text; @docsEditable true
962 String text;
963
964 /// @domName HTMLBodyElement.vLink; @docsEditable true 958 /// @domName HTMLBodyElement.vLink; @docsEditable true
965 String vLink; 959 String vLink;
966 } 960 }
967 961
968 class BodyElementEvents extends ElementEvents { 962 class BodyElementEvents extends ElementEvents {
969 BodyElementEvents(EventTarget _ptr) : super(_ptr); 963 BodyElementEvents(EventTarget _ptr) : super(_ptr);
970 964
971 EventListenerList get beforeUnload => this['beforeunload']; 965 EventListenerList get beforeUnload => this['beforeunload'];
972 966
973 EventListenerList get blur => this['blur']; 967 EventListenerList get blur => this['blur'];
(...skipping 5470 matching lines...) Expand 10 before | Expand all | Expand 10 after
6444 } 6438 }
6445 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6446 // for details. All rights reserved. Use of this source code is governed by a 6440 // for details. All rights reserved. Use of this source code is governed by a
6447 // BSD-style license that can be found in the LICENSE file. 6441 // BSD-style license that can be found in the LICENSE file.
6448 6442
6449 6443
6450 /// @domName HTMLDivElement; @docsEditable true 6444 /// @domName HTMLDivElement; @docsEditable true
6451 class DivElement extends Element implements Element native "*HTMLDivElement" { 6445 class DivElement extends Element implements Element native "*HTMLDivElement" {
6452 6446
6453 factory DivElement() => document.$dom_createElement("div"); 6447 factory DivElement() => document.$dom_createElement("div");
6454
6455 /// @domName HTMLDivElement.align; @docsEditable true
6456 String align;
6457 } 6448 }
6458 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6449 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6459 // for details. All rights reserved. Use of this source code is governed by a 6450 // for details. All rights reserved. Use of this source code is governed by a
6460 // BSD-style license that can be found in the LICENSE file. 6451 // BSD-style license that can be found in the LICENSE file.
6461 6452
6462 6453
6463 class Document extends Node native "*Document" 6454 class Document extends Node native "*Document"
6464 { 6455 {
6465 6456
6466 6457
(...skipping 2523 matching lines...) Expand 10 before | Expand all | Expand 10 after
8990 8981
8991 /// @domName HTMLFormElement.acceptCharset; @docsEditable true 8982 /// @domName HTMLFormElement.acceptCharset; @docsEditable true
8992 String acceptCharset; 8983 String acceptCharset;
8993 8984
8994 /// @domName HTMLFormElement.action; @docsEditable true 8985 /// @domName HTMLFormElement.action; @docsEditable true
8995 String action; 8986 String action;
8996 8987
8997 /// @domName HTMLFormElement.autocomplete; @docsEditable true 8988 /// @domName HTMLFormElement.autocomplete; @docsEditable true
8998 String autocomplete; 8989 String autocomplete;
8999 8990
9000 /// @domName HTMLFormElement.elements; @docsEditable true
9001 final HTMLCollection elements;
9002
9003 /// @domName HTMLFormElement.encoding; @docsEditable true 8991 /// @domName HTMLFormElement.encoding; @docsEditable true
9004 String encoding; 8992 String encoding;
9005 8993
9006 /// @domName HTMLFormElement.enctype; @docsEditable true 8994 /// @domName HTMLFormElement.enctype; @docsEditable true
9007 String enctype; 8995 String enctype;
9008 8996
9009 /// @domName HTMLFormElement.length; @docsEditable true 8997 /// @domName HTMLFormElement.length; @docsEditable true
9010 final int length; 8998 final int length;
9011 8999
9012 /// @domName HTMLFormElement.method; @docsEditable true 9000 /// @domName HTMLFormElement.method; @docsEditable true
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
9580 } 9568 }
9581 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9582 // for details. All rights reserved. Use of this source code is governed by a 9570 // for details. All rights reserved. Use of this source code is governed by a
9583 // BSD-style license that can be found in the LICENSE file. 9571 // BSD-style license that can be found in the LICENSE file.
9584 9572
9585 9573
9586 /// @domName HTMLHtmlElement; @docsEditable true 9574 /// @domName HTMLHtmlElement; @docsEditable true
9587 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" { 9575 class HtmlElement extends Element implements Element native "*HTMLHtmlElement" {
9588 9576
9589 factory HtmlElement() => document.$dom_createElement("html"); 9577 factory HtmlElement() => document.$dom_createElement("html");
9590
9591 /// @domName HTMLHtmlElement.manifest; @docsEditable true
9592 String manifest;
9593
9594 /// @domName HTMLHtmlElement.version; @docsEditable true
9595 String version;
9596 } 9578 }
9597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 9579 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
9598 // for details. All rights reserved. Use of this source code is governed by a 9580 // for details. All rights reserved. Use of this source code is governed by a
9599 // BSD-style license that can be found in the LICENSE file. 9581 // BSD-style license that can be found in the LICENSE file.
9600 9582
9601 9583
9602 class HttpRequest extends EventTarget native "*XMLHttpRequest" { 9584 class HttpRequest extends EventTarget native "*XMLHttpRequest" {
9603 factory HttpRequest.get(String url, onComplete(HttpRequest request)) => 9585 factory HttpRequest.get(String url, onComplete(HttpRequest request)) =>
9604 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete); 9586 _HttpRequestFactoryProvider.createHttpRequest_get(url, onComplete);
9605 9587
(...skipping 2175 matching lines...) Expand 10 before | Expand all | Expand 10 after
11781 LocalWindowEvents get on => 11763 LocalWindowEvents get on =>
11782 new LocalWindowEvents(this); 11764 new LocalWindowEvents(this);
11783 11765
11784 static const int PERSISTENT = 1; 11766 static const int PERSISTENT = 1;
11785 11767
11786 static const int TEMPORARY = 0; 11768 static const int TEMPORARY = 0;
11787 11769
11788 /// @domName Window.applicationCache; @docsEditable true 11770 /// @domName Window.applicationCache; @docsEditable true
11789 final DOMApplicationCache applicationCache; 11771 final DOMApplicationCache applicationCache;
11790 11772
11791 /// @domName Window.clientInformation; @docsEditable true
11792 final Navigator clientInformation;
11793
11794 /// @domName Window.closed; @docsEditable true 11773 /// @domName Window.closed; @docsEditable true
11795 final bool closed; 11774 final bool closed;
11796 11775
11797 /// @domName Window.console; @docsEditable true 11776 /// @domName Window.console; @docsEditable true
11798 final Console console; 11777 final Console console;
11799 11778
11800 /// @domName Window.crypto; @docsEditable true 11779 /// @domName Window.crypto; @docsEditable true
11801 final Crypto crypto; 11780 final Crypto crypto;
11802 11781
11803 /// @domName Window.defaultStatus; @docsEditable true 11782 /// @domName Window.defaultStatus; @docsEditable true
11804 String defaultStatus; 11783 String defaultStatus;
11805 11784
11806 /// @domName Window.defaultstatus; @docsEditable true 11785 /// @domName Window.defaultstatus; @docsEditable true
11807 String defaultstatus; 11786 String defaultstatus;
11808 11787
11809 /// @domName Window.devicePixelRatio; @docsEditable true 11788 /// @domName Window.devicePixelRatio; @docsEditable true
11810 final num devicePixelRatio; 11789 final num devicePixelRatio;
11811 11790
11812 /// @domName Window.event; @docsEditable true 11791 /// @domName Window.event; @docsEditable true
11813 final Event event; 11792 final Event event;
11814 11793
11815 /// @domName Window.frames; @docsEditable true
11816 Window get frames => _convertNativeToDart_Window(this._frames);
11817 dynamic get _frames => JS("dynamic", "#.frames", this);
11818
11819 /// @domName Window.history; @docsEditable true 11794 /// @domName Window.history; @docsEditable true
11820 final LocalHistory history; 11795 final LocalHistory history;
11821 11796
11822 /// @domName Window.innerHeight; @docsEditable true 11797 /// @domName Window.innerHeight; @docsEditable true
11823 final int innerHeight; 11798 final int innerHeight;
11824 11799
11825 /// @domName Window.innerWidth; @docsEditable true 11800 /// @domName Window.innerWidth; @docsEditable true
11826 final int innerWidth; 11801 final int innerWidth;
11827 11802
11828 /// @domName Window.length; @docsEditable true
11829 final int length;
11830
11831 /// @domName Window.localStorage; @docsEditable true 11803 /// @domName Window.localStorage; @docsEditable true
11832 final Storage localStorage; 11804 final Storage localStorage;
11833 11805
11834 /// @domName Window.locationbar; @docsEditable true 11806 /// @domName Window.locationbar; @docsEditable true
11835 final BarInfo locationbar; 11807 final BarInfo locationbar;
11836 11808
11837 /// @domName Window.menubar; @docsEditable true 11809 /// @domName Window.menubar; @docsEditable true
11838 final BarInfo menubar; 11810 final BarInfo menubar;
11839 11811
11840 /// @domName Window.name; @docsEditable true 11812 /// @domName Window.name; @docsEditable true
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
11937 11909
11938 /// @domName Window.addEventListener; @docsEditable true 11910 /// @domName Window.addEventListener; @docsEditable true
11939 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native "addEventListener"; 11911 void $dom_addEventListener(String type, EventListener listener, [bool useCaptu re]) native "addEventListener";
11940 11912
11941 /// @domName Window.alert; @docsEditable true 11913 /// @domName Window.alert; @docsEditable true
11942 void alert(String message) native; 11914 void alert(String message) native;
11943 11915
11944 /// @domName Window.atob; @docsEditable true 11916 /// @domName Window.atob; @docsEditable true
11945 String atob(String string) native; 11917 String atob(String string) native;
11946 11918
11947 /// @domName Window.blur; @docsEditable true
11948 void blur() native;
11949
11950 /// @domName Window.btoa; @docsEditable true 11919 /// @domName Window.btoa; @docsEditable true
11951 String btoa(String string) native; 11920 String btoa(String string) native;
11952 11921
11953 /// @domName Window.captureEvents; @docsEditable true 11922 /// @domName Window.captureEvents; @docsEditable true
11954 void captureEvents() native; 11923 void captureEvents() native;
11955 11924
11956 /// @domName Window.clearInterval; @docsEditable true 11925 /// @domName Window.clearInterval; @docsEditable true
11957 void clearInterval(int handle) native; 11926 void clearInterval(int handle) native;
11958 11927
11959 /// @domName Window.clearTimeout; @docsEditable true 11928 /// @domName Window.clearTimeout; @docsEditable true
11960 void clearTimeout(int handle) native; 11929 void clearTimeout(int handle) native;
11961 11930
11962 /// @domName Window.close; @docsEditable true 11931 /// @domName Window.close; @docsEditable true
11963 void close() native; 11932 void close() native;
11964 11933
11965 /// @domName Window.confirm; @docsEditable true 11934 /// @domName Window.confirm; @docsEditable true
11966 bool confirm(String message) native; 11935 bool confirm(String message) native;
11967 11936
11968 /// @domName Window.dispatchEvent; @docsEditable true 11937 /// @domName Window.dispatchEvent; @docsEditable true
11969 bool $dom_dispatchEvent(Event evt) native "dispatchEvent"; 11938 bool $dom_dispatchEvent(Event evt) native "dispatchEvent";
11970 11939
11971 /// @domName Window.find; @docsEditable true 11940 /// @domName Window.find; @docsEditable true
11972 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native; 11941 bool find(String string, bool caseSensitive, bool backwards, bool wrap, bool w holeWord, bool searchInFrames, bool showDialog) native;
11973 11942
11974 /// @domName Window.focus; @docsEditable true
11975 void focus() native;
11976
11977 /// @domName Window.getComputedStyle; @docsEditable true 11943 /// @domName Window.getComputedStyle; @docsEditable true
11978 CSSStyleDeclaration getComputedStyle(Element element, String pseudoElement) na tive; 11944 CSSStyleDeclaration $dom_getComputedStyle(Element element, String pseudoElemen t) native "getComputedStyle";
11979 11945
11980 /// @domName Window.getMatchedCSSRules; @docsEditable true 11946 /// @domName Window.getMatchedCSSRules; @docsEditable true
11981 @Returns('_CSSRuleList') @Creates('_CSSRuleList') 11947 @Returns('_CSSRuleList') @Creates('_CSSRuleList')
11982 List<CSSRule> getMatchedCssRules(Element element, String pseudoElement) native "getMatchedCSSRules"; 11948 List<CSSRule> getMatchedCssRules(Element element, String pseudoElement) native "getMatchedCSSRules";
11983 11949
11984 /// @domName Window.getSelection; @docsEditable true 11950 /// @domName Window.getSelection; @docsEditable true
11985 DOMSelection getSelection() native; 11951 DOMSelection getSelection() native;
11986 11952
11987 /// @domName Window.matchMedia; @docsEditable true 11953 /// @domName Window.matchMedia; @docsEditable true
11988 MediaQueryList matchMedia(String query) native; 11954 MediaQueryList matchMedia(String query) native;
(...skipping 22 matching lines...) Expand all
12011 return; 11977 return;
12012 } 11978 }
12013 throw new ArgumentError("Incorrect number or type of arguments"); 11979 throw new ArgumentError("Incorrect number or type of arguments");
12014 } 11980 }
12015 void _postMessage_1(message, targetOrigin) native "postMessage"; 11981 void _postMessage_1(message, targetOrigin) native "postMessage";
12016 void _postMessage_2(message, targetOrigin, List messagePorts) native "postMess age"; 11982 void _postMessage_2(message, targetOrigin, List messagePorts) native "postMess age";
12017 11983
12018 /// @domName Window.print; @docsEditable true 11984 /// @domName Window.print; @docsEditable true
12019 void print() native; 11985 void print() native;
12020 11986
12021 /// @domName Window.prompt; @docsEditable true
12022 String prompt(String message, String defaultValue) native;
12023
12024 /// @domName Window.releaseEvents; @docsEditable true 11987 /// @domName Window.releaseEvents; @docsEditable true
12025 void releaseEvents() native; 11988 void releaseEvents() native;
12026 11989
12027 /// @domName Window.removeEventListener; @docsEditable true 11990 /// @domName Window.removeEventListener; @docsEditable true
12028 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener"; 11991 void $dom_removeEventListener(String type, EventListener listener, [bool useCa pture]) native "removeEventListener";
12029 11992
12030 /// @domName Window.resizeBy; @docsEditable true 11993 /// @domName Window.resizeBy; @docsEditable true
12031 void resizeBy(num x, num y) native; 11994 void resizeBy(num x, num y) native;
12032 11995
12033 /// @domName Window.resizeTo; @docsEditable true 11996 /// @domName Window.resizeTo; @docsEditable true
(...skipping 13 matching lines...) Expand all
12047 12010
12048 /// @domName Window.setTimeout; @docsEditable true 12011 /// @domName Window.setTimeout; @docsEditable true
12049 int setTimeout(TimeoutHandler handler, int timeout) native; 12012 int setTimeout(TimeoutHandler handler, int timeout) native;
12050 12013
12051 /// @domName Window.showModalDialog; @docsEditable true 12014 /// @domName Window.showModalDialog; @docsEditable true
12052 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) na tive; 12015 Object showModalDialog(String url, [Object dialogArgs, String featureArgs]) na tive;
12053 12016
12054 /// @domName Window.stop; @docsEditable true 12017 /// @domName Window.stop; @docsEditable true
12055 void stop() native; 12018 void stop() native;
12056 12019
12057 /// @domName Window.webkitCancelRequestAnimationFrame; @docsEditable true
12058 void webkitCancelRequestAnimationFrame(int id) native;
12059
12060 /// @domName Window.webkitConvertPointFromNodeToPage; @docsEditable true 12020 /// @domName Window.webkitConvertPointFromNodeToPage; @docsEditable true
12061 Point webkitConvertPointFromNodeToPage(Node node, Point p) native; 12021 Point webkitConvertPointFromNodeToPage(Node node, Point p) native;
12062 12022
12063 /// @domName Window.webkitConvertPointFromPageToNode; @docsEditable true 12023 /// @domName Window.webkitConvertPointFromPageToNode; @docsEditable true
12064 Point webkitConvertPointFromPageToNode(Node node, Point p) native; 12024 Point webkitConvertPointFromPageToNode(Node node, Point p) native;
12065 12025
12066 /// @domName DOMWindow.webkitRequestFileSystem; @docsEditable true 12026 /// @domName DOMWindow.webkitRequestFileSystem; @docsEditable true
12067 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]) native; 12027 void webkitRequestFileSystem(int type, int size, FileSystemCallback successCal lback, [ErrorCallback errorCallback]) native;
12068 12028
12069 /// @domName DOMWindow.webkitResolveLocalFileSystemURL; @docsEditable true 12029 /// @domName DOMWindow.webkitResolveLocalFileSystemURL; @docsEditable true
(...skipping 2184 matching lines...) Expand 10 before | Expand all | Expand 10 after
14254 14214
14255 /// @domName HTMLOptionElement.index; @docsEditable true 14215 /// @domName HTMLOptionElement.index; @docsEditable true
14256 final int index; 14216 final int index;
14257 14217
14258 /// @domName HTMLOptionElement.label; @docsEditable true 14218 /// @domName HTMLOptionElement.label; @docsEditable true
14259 String label; 14219 String label;
14260 14220
14261 /// @domName HTMLOptionElement.selected; @docsEditable true 14221 /// @domName HTMLOptionElement.selected; @docsEditable true
14262 bool selected; 14222 bool selected;
14263 14223
14264 /// @domName HTMLOptionElement.text; @docsEditable true
14265 String text;
14266
14267 /// @domName HTMLOptionElement.value; @docsEditable true 14224 /// @domName HTMLOptionElement.value; @docsEditable true
14268 String value; 14225 String value;
14269 } 14226 }
14270 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 14227 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
14271 // for details. All rights reserved. Use of this source code is governed by a 14228 // for details. All rights reserved. Use of this source code is governed by a
14272 // BSD-style license that can be found in the LICENSE file. 14229 // BSD-style license that can be found in the LICENSE file.
14273 14230
14274 14231
14275 /// @domName OscillatorNode; @docsEditable true 14232 /// @domName OscillatorNode; @docsEditable true
14276 class OscillatorNode extends AudioSourceNode native "*OscillatorNode" { 14233 class OscillatorNode extends AudioSourceNode native "*OscillatorNode" {
(...skipping 1460 matching lines...) Expand 10 before | Expand all | Expand 10 after
15737 15694
15738 /// @domName HTMLScriptElement.event; @docsEditable true 15695 /// @domName HTMLScriptElement.event; @docsEditable true
15739 String event; 15696 String event;
15740 15697
15741 /// @domName HTMLScriptElement.htmlFor; @docsEditable true 15698 /// @domName HTMLScriptElement.htmlFor; @docsEditable true
15742 String htmlFor; 15699 String htmlFor;
15743 15700
15744 /// @domName HTMLScriptElement.src; @docsEditable true 15701 /// @domName HTMLScriptElement.src; @docsEditable true
15745 String src; 15702 String src;
15746 15703
15747 /// @domName HTMLScriptElement.text; @docsEditable true
15748 String text;
15749
15750 /// @domName HTMLScriptElement.type; @docsEditable true 15704 /// @domName HTMLScriptElement.type; @docsEditable true
15751 String type; 15705 String type;
15752 } 15706 }
15753 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 15707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
15754 // for details. All rights reserved. Use of this source code is governed by a 15708 // for details. All rights reserved. Use of this source code is governed by a
15755 // BSD-style license that can be found in the LICENSE file. 15709 // BSD-style license that can be found in the LICENSE file.
15756 15710
15757 15711
15758 /// @domName ScriptProcessorNode; @docsEditable true 15712 /// @domName ScriptProcessorNode; @docsEditable true
15759 class ScriptProcessorNode extends AudioNode implements EventTarget native "*Scri ptProcessorNode" { 15713 class ScriptProcessorNode extends AudioNode implements EventTarget native "*Scri ptProcessorNode" {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
15880 15834
15881 /// @domName HTMLSelectElement.checkValidity; @docsEditable true 15835 /// @domName HTMLSelectElement.checkValidity; @docsEditable true
15882 bool checkValidity() native; 15836 bool checkValidity() native;
15883 15837
15884 /// @domName HTMLSelectElement.item; @docsEditable true 15838 /// @domName HTMLSelectElement.item; @docsEditable true
15885 Node item(int index) native; 15839 Node item(int index) native;
15886 15840
15887 /// @domName HTMLSelectElement.namedItem; @docsEditable true 15841 /// @domName HTMLSelectElement.namedItem; @docsEditable true
15888 Node namedItem(String name) native; 15842 Node namedItem(String name) native;
15889 15843
15890 /// @domName HTMLSelectElement.remove; @docsEditable true
15891 void remove(index_OR_option) native;
15892
15893 /// @domName HTMLSelectElement.setCustomValidity; @docsEditable true 15844 /// @domName HTMLSelectElement.setCustomValidity; @docsEditable true
15894 void setCustomValidity(String error) native; 15845 void setCustomValidity(String error) native;
15895 15846
15896 15847
15897 // Override default options, since IE returns SelectElement itself and it 15848 // Override default options, since IE returns SelectElement itself and it
15898 // does not operate as a List. 15849 // does not operate as a List.
15899 List<OptionElement> get options { 15850 List<OptionElement> get options {
15900 return this.elements.filter((e) => e is OptionElement); 15851 return this.elements.filter((e) => e is OptionElement);
15901 } 15852 }
15902 15853
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after
17463 typedef void TimeoutHandler(); 17414 typedef void TimeoutHandler();
17464 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17415 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17465 // for details. All rights reserved. Use of this source code is governed by a 17416 // for details. All rights reserved. Use of this source code is governed by a
17466 // BSD-style license that can be found in the LICENSE file. 17417 // BSD-style license that can be found in the LICENSE file.
17467 17418
17468 17419
17469 /// @domName HTMLTitleElement; @docsEditable true 17420 /// @domName HTMLTitleElement; @docsEditable true
17470 class TitleElement extends Element implements Element native "*HTMLTitleElement" { 17421 class TitleElement extends Element implements Element native "*HTMLTitleElement" {
17471 17422
17472 factory TitleElement() => document.$dom_createElement("title"); 17423 factory TitleElement() => document.$dom_createElement("title");
17473
17474 /// @domName HTMLTitleElement.text; @docsEditable true
17475 String text;
17476 } 17424 }
17477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 17425 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
17478 // for details. All rights reserved. Use of this source code is governed by a 17426 // for details. All rights reserved. Use of this source code is governed by a
17479 // BSD-style license that can be found in the LICENSE file. 17427 // BSD-style license that can be found in the LICENSE file.
17480 17428
17481 17429
17482 /// @domName Touch; @docsEditable true 17430 /// @domName Touch; @docsEditable true
17483 class Touch native "*Touch" { 17431 class Touch native "*Touch" {
17484 17432
17485 /// @domName Touch.clientX; @docsEditable true 17433 /// @domName Touch.clientX; @docsEditable true
(...skipping 7631 matching lines...) Expand 10 before | Expand all | Expand 10 after
25117 if (length < 0) throw new ArgumentError('length'); 25065 if (length < 0) throw new ArgumentError('length');
25118 if (start < 0) throw new RangeError.value(start); 25066 if (start < 0) throw new RangeError.value(start);
25119 int end = start + length; 25067 int end = start + length;
25120 if (end > a.length) throw new RangeError.value(end); 25068 if (end > a.length) throw new RangeError.value(end);
25121 for (int i = start; i < end; i++) { 25069 for (int i = start; i < end; i++) {
25122 accumulator.add(a[i]); 25070 accumulator.add(a[i]);
25123 } 25071 }
25124 return accumulator; 25072 return accumulator;
25125 } 25073 }
25126 } 25074 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698