| 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 V(DOMWINDOW, DOMWindow) \ | 261 V(DOMWINDOW, DOMWindow) \ |
| 262 V(EVENT, Event) \ | 262 V(EVENT, Event) \ |
| 263 V(EVENTEXCEPTION, EventException) \ | 263 V(EVENTEXCEPTION, EventException) \ |
| 264 V(FILE, File) \ | 264 V(FILE, File) \ |
| 265 V(FILELIST, FileList) \ | 265 V(FILELIST, FileList) \ |
| 266 V(HISTORY, History) \ | 266 V(HISTORY, History) \ |
| 267 V(UNDETECTABLEHTMLCOLLECTION, UndetectableHTMLCollection) \ | 267 V(UNDETECTABLEHTMLCOLLECTION, UndetectableHTMLCollection) \ |
| 268 V(HTMLCOLLECTION, HTMLCollection) \ | 268 V(HTMLCOLLECTION, HTMLCollection) \ |
| 269 V(HTMLOPTIONSCOLLECTION, HTMLOptionsCollection) \ | 269 V(HTMLOPTIONSCOLLECTION, HTMLOptionsCollection) \ |
| 270 V(IMAGEDATA, ImageData) \ | 270 V(IMAGEDATA, ImageData) \ |
| 271 V(CANVASPIXELARRAY, CanvasPixelArray) \ |
| 271 V(INSPECTORCONTROLLER, InspectorController) \ | 272 V(INSPECTORCONTROLLER, InspectorController) \ |
| 272 V(KEYBOARDEVENT, KeyboardEvent) \ | 273 V(KEYBOARDEVENT, KeyboardEvent) \ |
| 273 V(LOCATION, Location) \ | 274 V(LOCATION, Location) \ |
| 274 V(MEDIALIST, MediaList) | 275 V(MEDIALIST, MediaList) |
| 275 | 276 |
| 276 #define DOM_OBJECT_TYPES_2(V) \ | 277 #define DOM_OBJECT_TYPES_2(V) \ |
| 277 V(MESSAGECHANNEL, MessageChannel) \ | 278 V(MESSAGECHANNEL, MessageChannel) \ |
| 278 V(MESSAGEEVENT, MessageEvent) \ | 279 V(MESSAGEEVENT, MessageEvent) \ |
| 279 V(MIMETYPE, MimeType) \ | 280 V(MIMETYPE, MimeType) \ |
| 280 V(MIMETYPEARRAY, MimeTypeArray) \ | 281 V(MIMETYPEARRAY, MimeTypeArray) \ |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 455 | 456 |
| 456 static FunctionTemplateFactory GetFactory(V8WrapperType type); | 457 static FunctionTemplateFactory GetFactory(V8WrapperType type); |
| 457 // Returns a field to be used as cache for the template for the given type | 458 // Returns a field to be used as cache for the template for the given type |
| 458 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type); | 459 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type); |
| 459 }; | 460 }; |
| 460 | 461 |
| 461 } | 462 } |
| 462 | 463 |
| 463 #endif // V8_INDEX_H__ | 464 #endif // V8_INDEX_H__ |
| 464 | 465 |
| OLD | NEW |