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

Side by Side Diff: third_party/WebCore/html/HTMLInputElement.idl

Issue 9958151: Update script to fetch new WebCore IDL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 /*
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
14 *
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
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 */
20
21 module html {
22
23 interface HTMLInputElement : HTMLElement {
24 attribute [Reflect] DOMString accept;
25 attribute [Reflect] DOMString alt;
26 attribute [Reflect] DOMString autocomplete;
27 attribute [Reflect] boolean autofocus;
28 attribute [Reflect=checked] boolean defaultChecked;
29 attribute boolean checked;
30 attribute [Reflect] DOMString dirName;
31 attribute [Reflect] boolean disabled;
32 readonly attribute HTMLFormElement form;
33 readonly attribute FileList files;
34 attribute [Reflect, URL] DOMString formAction;
35 attribute [TreatNullAs=NullString] DOMString formEnctype;
36 attribute [TreatNullAs=NullString] DOMString formMethod;
37 attribute [Reflect] boolean formNoValidate;
38 attribute [Reflect] DOMString formTarget;
39 attribute boolean indeterminate;
40 readonly attribute [Conditional=DATALIST] HTMLElement list;
41 attribute [Reflect] DOMString max;
42 attribute long maxLength setter raises(DOMException);
43 attribute [Reflect] DOMString min;
44 attribute [Reflect] boolean multiple;
45 attribute [Reflect] DOMString name;
46 attribute [Reflect] DOMString pattern;
47 attribute [Reflect] DOMString placeholder;
48 attribute [Reflect] boolean readOnly;
49 attribute [Reflect] boolean required;
50 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
51 attribute [ObjCImplementedAsUnsignedLong] DOMString size; // DOM level 2 changed this to a long, but ObjC API is a string
52 #else
53 attribute unsigned long size; // Changed string -> long -> unsigned long
54 #endif
55 attribute [Reflect, URL] DOMString src;
56 attribute [Reflect] DOMString step;
57 attribute [TreatNullAs=NullString] DOMString type; // readonly dropped a s part of DOM level 2
58 attribute [TreatNullAs=NullString] DOMString defaultValue;
59 attribute [TreatNullAs=NullString] DOMString value;
60 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
61 attribute Date valueAsDate setter raises(DOMException);
62 #endif
63 attribute double valueAsNumber setter raises(DOMException);
64
65 void stepUp(in [Optional] long n) raises(DOMException);
66 void stepDown(in [Optional] long n) raises(DOMException);
67
68 readonly attribute boolean willValidate;
69 readonly attribute ValidityState validity;
70 readonly attribute DOMString validationMessage;
71 boolean checkValidity();
72 void setCustomValidity(in [TreatNullAs=NullString, TreatUndefinedAs=Null String] DOMString error);
73
74 readonly attribute NodeList labels;
75
76 void select();
77 attribute [Custom] long selectionStart;
78 attribute [Custom] long selectionEnd;
79 attribute [Custom] DOMString selectionDirection;
80 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
81 [Custom] void setSelectionRange(in long start, in long end);
82 #else
83 [Custom] void setSelectionRange(in [Optional=DefaultIsUndefined] long st art,
84 in [Optional=DefaultIsUndefined] long en d,
85 in [Optional] DOMString direction);
86 #endif
87
88 // Non-standard attributes
89 attribute [Reflect] DOMString align;
90 attribute [Conditional=DIRECTORY_UPLOAD, Reflect] boolean webkitdirector y;
91 attribute [Reflect] DOMString useMap;
92 readonly attribute [Conditional=DATALIST] HTMLOptionElement selectedOpti on;
93 attribute [Reflect] boolean incremental;
94 attribute [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] boolea n webkitSpeech;
95 attribute [Conditional=INPUT_SPEECH, Reflect, V8EnabledAtRuntime] boolea n webkitGrammar;
96 attribute [Conditional=INPUT_SPEECH, NotEnumerable] EventListener onwebk itspeechchange;
97
98 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
99 attribute [Reflect] DOMString accessKey;
100 #endif
101
102 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
103 void click();
104 #endif
105
106 #if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT
107 void setValueForUser(in [TreatNullAs=NullString] DOMString value);
108 #endif
109
110 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
111 // Objective-C extension:
112 readonly attribute DOMString altDisplayString;
113 readonly attribute URL absoluteImageURL;
114 #endif
115
116 };
117 }
OLDNEW
« no previous file with comments | « third_party/WebCore/html/HTMLImageElement.idl ('k') | third_party/WebCore/html/HTMLKeygenElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698