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

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

Issue 126143003: Update IDL to Chrome 32 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 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
« no previous file with comments | « core/html/HTMLImageElement.idl ('k') | core/html/HTMLKeygenElement.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) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 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 *
11 * This library is distributed in the hope that it will be useful, 11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details. 14 * Library General Public License for more details.
15 * 15 *
16 * You should have received a copy of the GNU Library General Public License 16 * You should have received a copy of the GNU Library General Public License
17 * along with this library; see the file COPYING.LIB. If not, write to 17 * along with this library; see the file COPYING.LIB. If not, write to
18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA. 19 * Boston, MA 02110-1301, USA.
20 */ 20 */
21 21
22 [ 22 [
23 ] interface HTMLInputElement : HTMLElement { 23 ] interface HTMLInputElement : HTMLElement {
24 [Reflect] attribute DOMString accept; 24 [Reflect, TreatNullAs=NullString] attribute DOMString accept;
25 [Reflect] attribute DOMString alt; 25 [Reflect, TreatNullAs=NullString] attribute DOMString alt;
26 [Reflect] attribute DOMString autocomplete; 26 [Reflect, TreatNullAs=NullString] attribute DOMString autocomplete;
27 [Reflect] attribute boolean autofocus; 27 [Reflect] attribute boolean autofocus;
28 [Reflect=checked] attribute boolean defaultChecked; 28 [Reflect=checked] attribute boolean defaultChecked;
29 attribute boolean checked; 29 attribute boolean checked;
30 [Reflect] attribute DOMString dirName; 30 [Reflect, TreatNullAs=NullString] attribute DOMString dirName;
31 [Reflect] attribute boolean disabled; 31 [Reflect] attribute boolean disabled;
32 readonly attribute HTMLFormElement form; 32 readonly attribute HTMLFormElement form;
33 // The 'files' attribute is intentionally not readonly. 33 // The 'files' attribute is intentionally not readonly.
34 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22682 34 // https://www.w3.org/Bugs/Public/show_bug.cgi?id=22682
35 attribute FileList files; 35 attribute FileList files;
36 [Reflect, URL] attribute DOMString formAction; 36 [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=Set terForIsolatedWorlds] attribute DOMString formAction;
37 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString formEnctype; 37 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString formEnc type;
38 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString formMethod; 38 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString formMet hod;
39 [Reflect] attribute boolean formNoValidate; 39 [Reflect] attribute boolean formNoValidate;
40 [Reflect] attribute DOMString formTarget; 40 [Reflect, TreatNullAs=NullString] attribute DOMString formTarget;
41 [CustomElementCallbacks=Enable] attribute unsigned long height; 41 [CustomElementCallbacks] attribute unsigned long height;
42 attribute boolean indeterminate; 42 attribute boolean indeterminate;
43 [EnabledAtRuntime=DataListElement] readonly attribute HTMLElement list; 43 [RuntimeEnabled=DataListElement] readonly attribute HTMLElement list;
44 [Reflect] attribute DOMString max; 44 [Reflect, TreatNullAs=NullString] attribute DOMString max;
45 [SetterRaisesException, CustomElementCallbacks=Enable] attribute long maxLen gth; 45 [SetterRaisesException, CustomElementCallbacks] attribute long maxLength;
46 [Reflect] attribute DOMString min; 46 [Reflect, TreatNullAs=NullString] attribute DOMString min;
47 [Reflect] attribute boolean multiple; 47 [Reflect] attribute boolean multiple;
48 [Reflect] attribute DOMString name; 48 [Reflect, TreatNullAs=NullString] attribute DOMString name;
49 [Reflect] attribute DOMString pattern; 49 [Reflect, TreatNullAs=NullString] attribute DOMString pattern;
50 [Reflect] attribute DOMString placeholder; 50 [Reflect, TreatNullAs=NullString] attribute DOMString placeholder;
51 [Reflect] attribute boolean readOnly; 51 [Reflect] attribute boolean readOnly;
52 [Reflect] attribute boolean required; 52 [Reflect] attribute boolean required;
53 [SetterRaisesException, CustomElementCallbacks=Enable] attribute unsigned lo ng size; // Changed string -> long -> unsigned long 53 [SetterRaisesException, CustomElementCallbacks] attribute unsigned long size ; // Changed string -> long -> unsigned long
54 [Reflect, URL] attribute DOMString src; 54 [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=Set terForIsolatedWorlds] attribute DOMString src;
55 [Reflect] attribute DOMString step; 55 [Reflect, TreatNullAs=NullString] attribute DOMString step;
56 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString type; // readonly dropped as part of DOM level 2 56 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString type; / / readonly dropped as part of DOM level 2
57 [TreatNullAs=NullString, CustomElementCallbacks=Enable] attribute DOMString defaultValue; 57 [TreatNullAs=NullString, CustomElementCallbacks] attribute DOMString default Value;
58 // See the discussion in https://bugs.webkit.org/show_bug.cgi?id=100085 58 // See the discussion in https://bugs.webkit.org/show_bug.cgi?id=100085
59 [TreatNullAs=NullString, SetterRaisesException, CustomElementCallbacks=Enabl e] attribute DOMString value; 59 [TreatNullAs=NullString, SetterRaisesException, CustomElementCallbacks] attr ibute DOMString value;
60 [SetterRaisesException, CustomElementCallbacks=Enable] attribute Date valueA sDate; 60 [SetterRaisesException, CustomElementCallbacks] attribute Date valueAsDate;
61 [SetterRaisesException, CustomElementCallbacks=Enable] attribute double valu eAsNumber; 61 [SetterRaisesException, CustomElementCallbacks] attribute double valueAsNumb er;
62 [EnabledAtRuntime=InputModeAttribute, Reflect] attribute DOMString inputMode ; 62 [RuntimeEnabled=InputModeAttribute, Reflect, TreatNullAs=NullString] attribu te DOMString inputMode;
63 63
64 [RaisesException, CustomElementCallbacks=Enable] void stepUp(optional long n ); 64 [RaisesException, CustomElementCallbacks] void stepUp(optional long n);
65 [RaisesException, CustomElementCallbacks=Enable] void stepDown(optional long n); 65 [RaisesException, CustomElementCallbacks] void stepDown(optional long n);
66 66
67 [CustomElementCallbacks=Enable] attribute unsigned long width; 67 [CustomElementCallbacks] attribute unsigned long width;
68 readonly attribute boolean willValidate; 68 readonly attribute boolean willValidate;
69 readonly attribute ValidityState validity; 69 readonly attribute ValidityState validity;
70 readonly attribute DOMString validationMessage; 70 readonly attribute DOMString validationMessage;
71 boolean checkValidity(); 71 boolean checkValidity();
72 void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error); 72 void setCustomValidity([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString error);
73 73
74 readonly attribute NodeList labels; 74 readonly attribute NodeList labels;
75 75
76 void select(); 76 void select();
77 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long sel ectionStart; 77 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long sel ectionStart;
78 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selec tionEnd; 78 [RaisesException, ImplementedAs=selectionEndForBinding] attribute long selec tionEnd;
79 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS tring selectionDirection; 79 [RaisesException, ImplementedAs=selectionDirectionForBinding] attribute DOMS tring selectionDirection;
80 80
81 [RaisesException] void setRangeText(DOMString replacement); 81 [RaisesException] void setRangeText(DOMString replacement);
82 [RaisesException] void setRangeText(DOMString replacement, 82 [RaisesException] void setRangeText(DOMString replacement,
83 unsigned long start, 83 unsigned long start,
84 unsigned long end, 84 unsigned long end,
85 [Default=NullString] optional DOMString selectionMode); 85 [Default=NullString] optional DOMString selectionMode);
86 86
87 [RaisesException, ImplementedAs=setSelectionRangeForBinding] 87 [RaisesException, ImplementedAs=setSelectionRangeForBinding]
88 void setSelectionRange([Default=Undefined] optional long start, 88 void setSelectionRange([Default=Undefined] optional long start,
89 [Default=Undefined] optional long end, 89 [Default=Undefined] optional long end,
90 optional DOMString direction); 90 optional DOMString direction);
91 91
92 // Non-standard attributes 92 // Non-standard attributes
93 [Reflect] attribute DOMString align; 93 [Reflect, TreatNullAs=NullString] attribute DOMString align;
94 [Reflect, EnabledAtRuntime=DirectoryUpload] attribute boolean webkitdirector y; 94 [Reflect, RuntimeEnabled=DirectoryUpload] attribute boolean webkitdirectory;
95 [Reflect] attribute DOMString useMap; 95 [Reflect, TreatNullAs=NullString] attribute DOMString useMap;
96 [Reflect] attribute boolean incremental; 96 [Reflect] attribute boolean incremental;
97 [Conditional=INPUT_SPEECH, Reflect, EnabledAtRuntime=SpeechInput] attribute boolean webkitSpeech; 97 [Conditional=INPUT_SPEECH, Reflect, RuntimeEnabled=SpeechInput] attribute bo olean webkitSpeech;
98 [Conditional=INPUT_SPEECH, Reflect, EnabledAtRuntime=SpeechInput] attribute boolean webkitGrammar; 98 [Conditional=INPUT_SPEECH, Reflect, RuntimeEnabled=SpeechInput] attribute bo olean webkitGrammar;
99 [Conditional=INPUT_SPEECH, NotEnumerable] attribute EventHandler onwebkitspe echchange; 99 [Conditional=INPUT_SPEECH] attribute EventHandler onwebkitspeechchange;
100 100
101 // See http://www.w3.org/TR/html-media-capture/ 101 // See http://www.w3.org/TR/html-media-capture/
102 [Conditional=MEDIA_CAPTURE, Reflect] attribute boolean capture; 102 [Conditional=MEDIA_CAPTURE, Reflect] attribute boolean capture;
103 }; 103 };
OLDNEW
« no previous file with comments | « core/html/HTMLImageElement.idl ('k') | core/html/HTMLKeygenElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698