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

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

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 8 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 | « core/html/HTMLOutputElement.idl ('k') | core/html/HTMLSlotElement.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 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 19 matching lines...) Expand all
30 [Reflect] attribute DOMString name; 30 [Reflect] attribute DOMString name;
31 [Reflect] attribute boolean required; 31 [Reflect] attribute boolean required;
32 attribute unsigned long size; 32 attribute unsigned long size;
33 33
34 readonly attribute DOMString type; 34 readonly attribute DOMString type;
35 35
36 readonly attribute HTMLOptionsCollection options; 36 readonly attribute HTMLOptionsCollection options;
37 // TODO(philipj): The length setter should never throw. 37 // TODO(philipj): The length setter should never throw.
38 [RaisesException=Setter] attribute unsigned long length; 38 [RaisesException=Setter] attribute unsigned long length;
39 getter Element? item(unsigned long index); 39 getter Element? item(unsigned long index);
40 // TODO(philipj): The name argument should not be optional. 40 HTMLOptionElement? namedItem(DOMString name);
41 HTMLOptionElement? namedItem([Default=Undefined] optional DOMString name); 41 [RaisesException] void add((HTMLOptionElement or HTMLOptGroupElement) elemen t,
42 [RaisesException, TypeChecking=Interface] void add((HTMLOptionElement or HTM LOptGroupElement) element, 42 optional (HTMLElement or long)? before = null);
43 optional (HTMLElement or long)? before = null);
44 [RaisesException] void remove(); // ChildNode overload 43 [RaisesException] void remove(); // ChildNode overload
45 void remove(long index); 44 void remove(long index);
46 [RaisesException, TypeChecking=Interface] setter void (unsigned long index, HTMLOptionElement? option); 45 [RaisesException] setter void (unsigned long index, HTMLOptionElement? optio n);
47 46
48 readonly attribute HTMLCollection selectedOptions; 47 readonly attribute HTMLCollection selectedOptions;
49 attribute long selectedIndex; 48 attribute long selectedIndex;
50 attribute DOMString value; 49 attribute DOMString value;
51 50
52 readonly attribute boolean willValidate; 51 readonly attribute boolean willValidate;
53 readonly attribute ValidityState validity; 52 readonly attribute ValidityState validity;
54 readonly attribute DOMString validationMessage; 53 readonly attribute DOMString validationMessage;
55 boolean checkValidity(); 54 boolean checkValidity();
56 boolean reportValidity(); 55 boolean reportValidity();
57 void setCustomValidity(DOMString error); 56 void setCustomValidity(DOMString error);
58 57
59 readonly attribute NodeList labels; 58 readonly attribute NodeList labels;
60 }; 59 };
OLDNEW
« no previous file with comments | « core/html/HTMLOutputElement.idl ('k') | core/html/HTMLSlotElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698