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

Side by Side Diff: core/html/HTMLSelectElement.idl

Issue 15643014: Blink IDL roll. (Closed) Base URL: http://dart.googlecode.com/svn/third_party/WebCore/
Patch Set: Created 7 years, 6 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 | « core/html/HTMLOptionsCollection.idl ('k') | core/html/HTMLVideoElement.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 [ 21 interface HTMLSelectElement : HTMLElement {
22 CustomIndexedSetter
23 ] interface HTMLSelectElement : HTMLElement {
24 [Reflect] attribute boolean autofocus; 22 [Reflect] attribute boolean autofocus;
25 [Reflect] attribute boolean disabled; 23 [Reflect] attribute boolean disabled;
26 readonly attribute HTMLFormElement form; 24 readonly attribute HTMLFormElement form;
27 attribute boolean multiple; 25 attribute boolean multiple;
28 [Reflect] attribute DOMString name; 26 [Reflect] attribute DOMString name;
29 [Reflect] attribute boolean required; 27 [Reflect] attribute boolean required;
30 attribute long size; 28 attribute long size;
31 29
32 readonly attribute DOMString type; 30 readonly attribute DOMString type;
33 31
34 readonly attribute HTMLOptionsCollection options; 32 readonly attribute HTMLOptionsCollection options;
35 [SetterRaisesException] attribute unsigned long length; 33 [SetterRaisesException] attribute unsigned long length;
36 34
37 getter Node item([IsIndex,Default=Undefined] optional unsigned long index); 35 getter Node item([IsIndex,Default=Undefined] optional unsigned long index);
36 [ImplementedAs=anonymousIndexedSetter, RaisesException] setter HTMLOptionEle ment (unsigned long index, HTMLOptionElement value);
38 Node namedItem([Default=Undefined] optional DOMString name); 37 Node namedItem([Default=Undefined] optional DOMString name);
39 [RaisesException] void add([Default=Undefined] optional HTMLElement element , 38 [RaisesException] void add([Default=Undefined] optional HTMLElement element ,
40 [Default=Undefined] optional HTMLElement before); 39 [Default=Undefined] optional HTMLElement before);
41 // In JavaScript, we support both option index and option object parameters. 40 // In JavaScript, we support both option index and option object parameters.
42 // As of this writing this cannot be auto-generated. 41 // As of this writing this cannot be auto-generated.
43 [Custom] void remove(/* indexOrOption */); 42 [Custom] void remove(/* indexOrOption */);
44 readonly attribute HTMLCollection selectedOptions; 43 readonly attribute HTMLCollection selectedOptions;
45 attribute long selectedIndex; 44 attribute long selectedIndex;
46 [TreatNullAs=NullString] attribute DOMString value; 45 [TreatNullAs=NullString] attribute DOMString value;
47 46
48 readonly attribute boolean willValidate; 47 readonly attribute boolean willValidate;
49 readonly attribute ValidityState validity; 48 readonly attribute ValidityState validity;
50 readonly attribute DOMString validationMessage; 49 readonly attribute DOMString validationMessage;
51 boolean checkValidity(); 50 boolean checkValidity();
52 void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); 51 void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error);
53 52
54 readonly attribute NodeList labels; 53 readonly attribute NodeList labels;
55 }; 54 };
OLDNEW
« no previous file with comments | « core/html/HTMLOptionsCollection.idl ('k') | core/html/HTMLVideoElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698