OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_INDEX_H__ | 5 #ifndef V8_INDEX_H__ |
6 #define V8_INDEX_H__ | 6 #define V8_INDEX_H__ |
7 | 7 |
8 #include <v8.h> | 8 #include <v8.h> |
9 #include "PlatformString.h" // for WebCore::String | 9 #include "PlatformString.h" // for WebCore::String |
10 | 10 |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 V(MESSAGEEVENT, MessageEvent) \ | 250 V(MESSAGEEVENT, MessageEvent) \ |
251 V(MIMETYPE, MimeType) \ | 251 V(MIMETYPE, MimeType) \ |
252 V(MIMETYPEARRAY, MimeTypeArray) \ | 252 V(MIMETYPEARRAY, MimeTypeArray) \ |
253 V(MOUSEEVENT, MouseEvent) \ | 253 V(MOUSEEVENT, MouseEvent) \ |
254 V(MUTATIONEVENT, MutationEvent) \ | 254 V(MUTATIONEVENT, MutationEvent) \ |
255 V(NAMEDNODEMAP, NamedNodeMap) \ | 255 V(NAMEDNODEMAP, NamedNodeMap) \ |
256 V(NAVIGATOR, Navigator) \ | 256 V(NAVIGATOR, Navigator) \ |
257 V(NODEFILTER, NodeFilter) \ | 257 V(NODEFILTER, NodeFilter) \ |
258 V(NODEITERATOR, NodeIterator) \ | 258 V(NODEITERATOR, NodeIterator) \ |
259 V(NODELIST, NodeList) \ | 259 V(NODELIST, NodeList) \ |
| 260 V(NSRESOLVER, NSResolver) \ |
260 V(OVERFLOWEVENT, OverflowEvent) \ | 261 V(OVERFLOWEVENT, OverflowEvent) \ |
261 V(PLUGIN, Plugin) \ | 262 V(PLUGIN, Plugin) \ |
262 V(PLUGINARRAY, PluginArray) \ | 263 V(PLUGINARRAY, PluginArray) \ |
263 V(PROGRESSEVENT, ProgressEvent) \ | 264 V(PROGRESSEVENT, ProgressEvent) \ |
264 V(RANGE, Range) \ | 265 V(RANGE, Range) \ |
265 V(RANGEEXCEPTION, RangeException) \ | 266 V(RANGEEXCEPTION, RangeException) \ |
266 V(RECT, Rect) \ | 267 V(RECT, Rect) \ |
267 V(RGBCOLOR, RGBColor) \ | 268 V(RGBCOLOR, RGBColor) \ |
268 V(SCREEN, Screen) \ | 269 V(SCREEN, Screen) \ |
269 V(STYLESHEET, StyleSheet) \ | 270 V(STYLESHEET, StyleSheet) \ |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 } | 396 } |
396 | 397 |
397 static FunctionTemplateFactory GetFactory(V8WrapperType type); | 398 static FunctionTemplateFactory GetFactory(V8WrapperType type); |
398 // Returns a field to be used as cache for the template for the given type | 399 // Returns a field to be used as cache for the template for the given type |
399 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type); | 400 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type); |
400 }; | 401 }; |
401 } | 402 } |
402 | 403 |
403 #endif // V8_INDEX_H__ | 404 #endif // V8_INDEX_H__ |
404 | 405 |
OLD | NEW |