12010-06-26 Darin Adler <darin@apple.com>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Add more use of reflection, remove unused functions
6 https://bugs.webkit.org/show_bug.cgi?id=41255
7
8 Also noticed that HTMLDirectoryElement was missing its create function
9 and added that so the element will get the correct class.
10
11 * html/HTMLBaseFontElement.idl: Use reflection for the size attribute
12 in the Objective-C code path too.
13
14 * html/HTMLSelectElement.idl: Use reflection for disabled and autofocus
15 attributes. Also removed spaces and indenting to match other IDL files.
16
17 * html/HTMLStyleElement.idl: Use reflection for disabled attribute.
18
19 * html/HTMLTableCellElement.idl: Use reflection for noWrap attribute.
20
21 * html/HTMLTextAreaElement.idl: Use reflection for disabled, autofocus,
22 readOnly, and required attributes.
23
24 * html/HTMLUListElement.idl: Use reflection for compact attribute.
25
26 * html/HTMLDirectoryElement.cpp:
27 (WebCore::HTMLDirectoryElement::HTMLDirectoryElement): Made inline.
28 (WebCore::HTMLDirectoryElement::create): Added.
29 * html/HTMLDirectoryElement.h:
30 Added create, made constructor private, removed unused functions.
31
32 * html/HTMLStyleElement.cpp:
33 (WebCore::HTMLStyleElement::parseMappedAttribute): Removed code to
34 set unused m_media data member.
35 * html/HTMLStyleElement.h:
36 Removed unused functions and m_media data member. Also made some
37 functions private.
38
39 * html/HTMLAppletElement.cpp:
40 * html/HTMLAppletElement.h:
41 * html/HTMLAreaElement.cpp:
42 * html/HTMLAreaElement.h:
43 * html/HTMLBaseFontElement.cpp:
44 * html/HTMLBaseFontElement.h:
45 * html/HTMLButtonElement.cpp:
46 * html/HTMLButtonElement.h:
47 * html/HTMLDListElement.cpp:
48 * html/HTMLDListElement.h:
49 * html/HTMLDivElement.cpp:
50 * html/HTMLDivElement.h:
51 * html/HTMLFontElement.cpp:
52 * html/HTMLFontElement.h:
53 * html/HTMLFormControlElement.cpp:
54 * html/HTMLFormControlElement.h:
55 * html/HTMLFormElement.cpp:
56 * html/HTMLFormElement.h:
57 * html/HTMLFrameElement.cpp: Also removed an incorrect FIXME comment
58 here after I did a little research to disprove it.
59 * html/HTMLFrameElement.h:
60 * html/HTMLFrameSetElement.cpp:
61 * html/HTMLFrameSetElement.h:
62 * html/HTMLHRElement.cpp:
63 * html/HTMLHRElement.h:
64 * html/HTMLHeadElement.cpp:
65 * html/HTMLHeadElement.h:
66 * html/HTMLHeadingElement.cpp:
67 * html/HTMLHeadingElement.h:
68 * html/HTMLHtmlElement.cpp:
69 * html/HTMLHtmlElement.h:
70 * html/HTMLImageElement.cpp:
71 * html/HTMLImageElement.h:
72 * html/HTMLInputElement.cpp:
73 * html/HTMLInputElement.h:
74 * html/HTMLIsIndexElement.cpp:
75 * html/HTMLIsIndexElement.h:
76 * html/HTMLLIElement.cpp:
77 * html/HTMLLIElement.h:
78 * html/HTMLLabelElement.cpp:
79 * html/HTMLLabelElement.h:
80 * html/HTMLLegendElement.cpp:
81 * html/HTMLLegendElement.h:
82 * html/HTMLLinkElement.cpp:
83 * html/HTMLLinkElement.h:
84 * html/HTMLMapElement.cpp:
85 * html/HTMLMapElement.h:
86 * html/HTMLMenuElement.cpp:
87 * html/HTMLMenuElement.h:
88 * html/HTMLMetaElement.cpp:
89 * html/HTMLMetaElement.h:
90 * html/HTMLModElement.cpp:
91 * html/HTMLModElement.h:
92 * html/HTMLOListElement.cpp:
93 * html/HTMLOListElement.h:
94 * html/HTMLObjectElement.cpp:
95 * html/HTMLObjectElement.h:
96 * html/HTMLOptGroupElement.cpp:
97 * html/HTMLOptGroupElement.h:
98 * html/HTMLOptionElement.cpp:
99 * html/HTMLOptionElement.h:
100 * html/HTMLParagraphElement.cpp:
101 * html/HTMLParagraphElement.h:
102 * html/HTMLParamElement.cpp:
103 * html/HTMLParamElement.h:
104 * html/HTMLPlugInElement.cpp:
105 * html/HTMLPlugInElement.h:
106 * html/HTMLPreElement.cpp:
107 * html/HTMLPreElement.h:
108 * html/HTMLQuoteElement.cpp:
109 * html/HTMLQuoteElement.h:
110 * html/HTMLScriptElement.cpp:
111 * html/HTMLScriptElement.h:
112 * html/HTMLTableCaptionElement.cpp:
113 * html/HTMLTableCaptionElement.h:
114 * html/HTMLTableCellElement.cpp:
115 * html/HTMLTableCellElement.h:
116 * html/HTMLTableColElement.cpp:
117 * html/HTMLTableColElement.h:
118 * html/HTMLTableElement.cpp:
119 * html/HTMLTableElement.h:
120 * html/HTMLTableRowElement.cpp:
121 * html/HTMLTableRowElement.h:
122 * html/HTMLTextAreaElement.cpp:
123 * html/HTMLTextAreaElement.h:
124 * html/HTMLUListElement.cpp:
125 * html/HTMLUListElement.h:
126 * html/HTMLVideoElement.cpp:
127 * html/HTMLVideoElement.h:
128 Removed unused functions.
129