1 /* Automatically generated from kjs_window.cpp using ../../../JavaScriptCore/kjs/create_hash_table. DO NOT EDIT ! */
5 const struct HashEntry ScreenTableEntries[] = {
7 { "colorDepth", Screen::ColorDepth, DontEnum|ReadOnly, 0, &ScreenTableEntries[9] },
9 { "height", Screen::Height, DontEnum|ReadOnly, 0, &ScreenTableEntries[7] },
10 { "pixelDepth", Screen::PixelDepth, DontEnum|ReadOnly, 0, 0 },
11 { "width", Screen::Width, DontEnum|ReadOnly, 0, 0 },
12 { "availTop", Screen::AvailTop, DontEnum|ReadOnly, 0, &ScreenTableEntries[8] },
13 { "availLeft", Screen::AvailLeft, DontEnum|ReadOnly, 0, 0 },
14 { "availHeight", Screen::AvailHeight, DontEnum|ReadOnly, 0, 0 },
15 { "availWidth", Screen::AvailWidth, DontEnum|ReadOnly, 0, 0 }
18 const struct HashTable ScreenTable = { 2, 10, ScreenTableEntries, 7 };
24 const struct HashEntry WindowTableEntries[] = {
25 { "event", Window::Event, DontDelete, 0, &WindowTableEntries[94] },
26 { "frames", Window::Frames, DontDelete|ReadOnly, 0, &WindowTableEntries[95] },
27 { "onmouseup", Window::Onmouseup, DontDelete, 0, 0 },
28 { "NodeFilter", Window::NodeFilter, DontDelete, 0, &WindowTableEntries[102] },
29 { "CSSRule", Window::CSSRule, DontDelete, 0, &WindowTableEntries[111] },
30 { "length", Window::Length, DontDelete|ReadOnly, 0, 0 },
36 { "print", Window::Print, DontDelete|Function, 2, &WindowTableEntries[110] },
37 { "opener", Window::Opener, DontDelete|ReadOnly, 0, 0 },
38 { "parent", Window::Parent, DontDelete|ReadOnly, 0, 0 },
40 { "scrollX", Window::ScrollX, DontDelete|ReadOnly, 0, &WindowTableEntries[118] },
41 { "scrollY", Window::ScrollY, DontDelete|ReadOnly, 0, &WindowTableEntries[112] },
42 { "XMLSerializer", Window::XMLSerializer, DontDelete|ReadOnly, 0, 0 },
43 { "menubar", Window::Menubar, DontDelete|ReadOnly, 0, &WindowTableEntries[97] },
45 { "defaultStatus", Window::DefaultStatus, DontDelete, 0, &WindowTableEntries[108] },
46 { "onblur", Window::Onblur, DontDelete, 0, 0 },
47 { "confirm", Window::Confirm, DontDelete|Function, 1, 0 },
48 { "scrollBy", Window::ScrollBy, DontDelete|Function, 2, &WindowTableEntries[123] },
49 { "pageXOffset", Window::PageXOffset, DontDelete|ReadOnly, 0, 0 },
50 { "pageYOffset", Window::PageYOffset, DontDelete|ReadOnly, 0, 0 },
51 { "Node", Window::Node, DontDelete, 0, &WindowTableEntries[99] },
52 { "toolbar", Window::Toolbar, DontDelete|ReadOnly, 0, &WindowTableEntries[101] },
53 { "Image", Window::Image, DontDelete|ReadOnly, 0, 0 },
54 { "onabort", Window::Onabort, DontDelete, 0, 0 },
55 { "onmousemove", Window::Onmousemove, DontDelete, 0, 0 },
56 { "scrollTo", Window::ScrollTo, DontDelete|Function, 2, &WindowTableEntries[121] },
57 { "onsearch", Window::Onsearch, DontDelete, 0, 0 },
59 { "screenLeft", Window::ScreenLeft, DontDelete|ReadOnly, 0, &WindowTableEntries[100] },
60 { "onmouseover", Window::Onmouseover, DontDelete, 0, 0 },
61 { "crypto", Window::Crypto, DontDelete|ReadOnly, 0, 0 },
62 { "screenTop", Window::ScreenTop, DontDelete|ReadOnly, 0, &WindowTableEntries[103] },
63 { "Range", Window::Range, DontDelete, 0, &WindowTableEntries[91] },
64 { "status", Window::Status, DontDelete, 0, 0 },
65 { "onreset", Window::Onreset, DontDelete, 0, 0 },
67 { "onselect", Window::Onselect, DontDelete, 0, 0 },
69 { "document", Window::Document, DontDelete|ReadOnly, 0, &WindowTableEntries[114] },
70 { "onunload", Window::Onunload, DontDelete, 0, 0 },
72 { "onerror", Window::Onerror, DontDelete, 0, 0 },
74 { "innerHeight", Window::InnerHeight, DontDelete|ReadOnly, 0, 0 },
76 { "innerWidth", Window::InnerWidth, DontDelete|ReadOnly, 0, &WindowTableEntries[119] },
77 { "defaultstatus", Window::DefaultStatus, DontDelete, 0, 0 },
78 { "name", Window::Name, DontDelete, 0, 0 },
80 { "offscreenBuffering", Window::OffscreenBuffering, DontDelete|ReadOnly, 0, 0 },
82 { "onscroll", Window::Onscroll, DontDelete, 0, 0 },
83 { "history", Window::_History, DontDelete|ReadOnly, 0, 0 },
84 { "Event", Window::EventCtor, DontDelete, 0, 0 },
85 { "onresize", Window::Onresize, DontDelete, 0, 0 },
86 { "navigator", Window::_Navigator, DontDelete|ReadOnly, 0, 0 },
87 { "self", Window::Self, DontDelete|ReadOnly, 0, &WindowTableEntries[124] },
91 { "top", Window::Top, DontDelete|ReadOnly, 0, 0 },
93 { "clientInformation", Window::ClientInformation, DontDelete|ReadOnly, 0, &WindowTableEntries[93] },
95 { "outerWidth", Window::OuterWidth, DontDelete|ReadOnly, 0, &WindowTableEntries[105] },
96 { "getSelection", Window::GetSelection, DontDelete|Function, 0, &WindowTableEntries[115] },
98 { "blur", Window::Blur, DontDelete|Function, 0, 0 },
99 { "locationbar", Window::Locationbar, DontDelete, 0, &WindowTableEntries[106] },
100 { "DOMException", Window::DOMException, DontDelete, 0, &WindowTableEntries[96] },
102 { "setInterval", Window::SetInterval, DontDelete|Function, 2, 0 },
103 { "scrollbars", Window::Scrollbars, DontDelete|ReadOnly, 0, 0 },
104 { "clearTimeout", Window::ClearTimeout, DontDelete|Function, 1, &WindowTableEntries[107] },
105 { "moveBy", Window::MoveBy, DontDelete|Function, 2, &WindowTableEntries[117] },
106 { "alert", Window::Alert, DontDelete|Function, 1, 0 },
107 { "clearInterval", Window::ClearInterval, DontDelete|Function, 1, 0 },
110 { "personalbar", Window::Personalbar, DontDelete|ReadOnly, 0, 0 },
112 { "Option", Window::Option, DontDelete|ReadOnly, 0, 0 },
113 { "closed", Window::Closed, DontDelete|ReadOnly, 0, &WindowTableEntries[92] },
114 { "focus", Window::Focus, DontDelete|Function, 0, 0 },
116 { "location", Window::_Location, DontDelete, 0, 0 },
117 { "konqueror", Window::_Konqueror, DontDelete|ReadOnly, 0, &WindowTableEntries[98] },
118 { "outerHeight", Window::OuterHeight, DontDelete|ReadOnly, 0, 0 },
119 { "screenX", Window::ScreenX, DontDelete|ReadOnly, 0, &WindowTableEntries[120] },
120 { "screenY", Window::ScreenY, DontDelete|ReadOnly, 0, &WindowTableEntries[109] },
121 { "statusbar", Window::Statusbar, DontDelete|ReadOnly, 0, 0 },
122 { "scroll", Window::Scroll, DontDelete|Function, 2, 0 },
123 { "moveTo", Window::MoveTo, DontDelete|Function, 2, 0 },
124 { "resizeBy", Window::ResizeBy, DontDelete|Function, 2, &WindowTableEntries[122] },
125 { "resizeTo", Window::ResizeTo, DontDelete|Function, 2, 0 },
126 { "window", Window::_Window, DontDelete|ReadOnly, 0, 0 },
127 { "screen", Window::_Screen, DontDelete|ReadOnly, 0, 0 },
128 { "XMLHttpRequest", Window::XMLHttpRequest, DontDelete|ReadOnly, 0, &WindowTableEntries[104] },
129 { "prompt", Window::Prompt, DontDelete|Function, 2, &WindowTableEntries[116] },
130 { "open", Window::Open, DontDelete|Function, 3, 0 },
131 { "setTimeout", Window::SetTimeout, DontDelete|Function, 2, 0 },
132 { "close", Window::Close, DontDelete|Function, 0, 0 },
133 { "captureEvents", Window::CaptureEvents, DontDelete|Function, 0, 0 },
134 { "releaseEvents", Window::ReleaseEvents, DontDelete|Function, 0, 0 },
135 { "addEventListener", Window::AddEventListener, DontDelete|Function, 3, &WindowTableEntries[113] },
136 { "removeEventListener", Window::RemoveEventListener, DontDelete|Function, 3, 0 },
137 { "onchange", Window::Onchange, DontDelete, 0, 0 },
138 { "onclick", Window::Onclick, DontDelete, 0, 0 },
139 { "ondblclick", Window::Ondblclick, DontDelete, 0, 0 },
140 { "ondragdrop", Window::Ondragdrop, DontDelete, 0, 0 },
141 { "onfocus", Window::Onfocus, DontDelete, 0, 0 },
142 { "onkeydown", Window::Onkeydown, DontDelete, 0, 0 },
143 { "onkeypress", Window::Onkeypress, DontDelete, 0, 0 },
144 { "onkeyup", Window::Onkeyup, DontDelete, 0, 0 },
145 { "onload", Window::Onload, DontDelete, 0, 0 },
146 { "onmousedown", Window::Onmousedown, DontDelete, 0, 0 },
147 { "onmouseout", Window::Onmouseout, DontDelete, 0, 0 },
148 { "onmove", Window::Onmove, DontDelete, 0, 0 },
149 { "onsubmit", Window::Onsubmit, DontDelete, 0, 0 }
152 const struct HashTable WindowTable = { 2, 125, WindowTableEntries, 91 };
158 const struct HashEntry LocationTableEntries[] = {
159 { "toString", Location::ToString, DontDelete|Function, 0, 0 },
161 { "hash", Location::Hash, DontDelete, 0, &LocationTableEntries[11] },
162 { "href", Location::Href, DontDelete, 0, &LocationTableEntries[13] },
163 { "reload", Location::Reload, DontDelete|Function, 0, 0 },
164 { "hostname", Location::Hostname, DontDelete, 0, 0 },
165 { "host", Location::Host, DontDelete, 0, &LocationTableEntries[14] },
169 { "pathname", Location::Pathname, DontDelete, 0, 0 },
170 { "port", Location::Port, DontDelete, 0, &LocationTableEntries[12] },
171 { "protocol", Location::Protocol, DontDelete, 0, 0 },
172 { "search", Location::Search, DontDelete, 0, 0 },
173 { "[[==]]", Location::EqualEqual, DontDelete|ReadOnly, 0, &LocationTableEntries[15] },
174 { "replace", Location::Replace, DontDelete|Function, 1, 0 }
177 const struct HashTable LocationTable = { 2, 16, LocationTableEntries, 11 };
183 const struct HashEntry SelectionTableEntries[] = {
184 { "focusOffset", Selection::FocusOffset, DontDelete|ReadOnly, 0, &SelectionTableEntries[20] },
186 { "modify", Selection::Modify, DontDelete|Function, 3, 0 },
187 { "focusNode", Selection::FocusNode, DontDelete|ReadOnly, 0, &SelectionTableEntries[19] },
190 { "extentOffset", Selection::FocusOffset, DontDelete|ReadOnly, 0, 0 },
191 { "setPosition", Selection::SetPosition, DontDelete|Function, 2, 0 },
192 { "empty", Selection::Empty, DontDelete|Function, 0, 0 },
193 { "extentNode", Selection::FocusNode, DontDelete|ReadOnly, 0, 0 },
197 { "type", Selection::_Type, DontDelete|ReadOnly, 0, 0 },
198 { "collapseToEnd", Selection::CollapseToEnd, DontDelete|Function, 0, &SelectionTableEntries[25] },
199 { "anchorOffset", Selection::AnchorOffset, DontDelete|ReadOnly, 0, &SelectionTableEntries[22] },
202 { "anchorNode", Selection::AnchorNode, DontDelete|ReadOnly, 0, &SelectionTableEntries[21] },
203 { "baseNode", Selection::AnchorNode, DontDelete|ReadOnly, 0, &SelectionTableEntries[23] },
204 { "baseOffset", Selection::AnchorOffset, DontDelete|ReadOnly, 0, 0 },
205 { "isCollapsed", Selection::IsCollapsed, DontDelete|ReadOnly, 0, 0 },
206 { "[[==]]", Selection::EqualEqual, DontDelete|ReadOnly, 0, &SelectionTableEntries[24] },
207 { "toString", Selection::ToString, DontDelete|Function, 0, &SelectionTableEntries[26] },
208 { "collapse", Selection::Collapse, DontDelete|Function, 2, 0 },
209 { "collapseToStart", Selection::CollapseToStart, DontDelete|Function, 0, 0 },
210 { "setBaseAndExtent", Selection::SetBaseAndExtent, DontDelete|Function, 4, 0 }
213 const struct HashTable SelectionTable = { 2, 27, SelectionTableEntries, 19 };
219 const struct HashEntry BarInfoTableEntries[] = {
220 { "visible", BarInfo::Visible, DontDelete|ReadOnly, 0, 0 }
223 const struct HashTable BarInfoTable = { 2, 1, BarInfoTableEntries, 1 };
229 const struct HashEntry HistoryTableEntries[] = {
231 { "back", History::Back, DontDelete|Function, 0, &HistoryTableEntries[4] },
232 { "length", History::Length, DontDelete|ReadOnly, 0, &HistoryTableEntries[5] },
234 { "forward", History::Forward, DontDelete|Function, 0, 0 },
235 { "go", History::Go, DontDelete|Function, 1, 0 }
238 const struct HashTable HistoryTable = { 2, 6, HistoryTableEntries, 4 };