| 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 27 matching lines...) Expand all Loading... |
| 38 #define WORKER_ACTIVE_OBJECT_WRAPPER_TYPES(V) | 38 #define WORKER_ACTIVE_OBJECT_WRAPPER_TYPES(V) |
| 39 #define WORKER_NONNODE_WRAPPER_TYPES(V) | 39 #define WORKER_NONNODE_WRAPPER_TYPES(V) |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 #define DOM_NODE_TYPES(V) \ | 42 #define DOM_NODE_TYPES(V) \ |
| 43 V(ATTR, Attr) \ | 43 V(ATTR, Attr) \ |
| 44 V(CHARACTERDATA, CharacterData) \ | 44 V(CHARACTERDATA, CharacterData) \ |
| 45 V(CDATASECTION, CDATASection) \ | 45 V(CDATASECTION, CDATASection) \ |
| 46 V(COMMENT, Comment) \ | 46 V(COMMENT, Comment) \ |
| 47 V(DOCUMENT, Document) \ | 47 V(DOCUMENT, Document) \ |
| 48 V(DATAGRIDCOLUMN, DataGridColumn) \ |
| 49 V(DATAGRIDCOLUMNLIST, DataGridColumnList) \ |
| 48 V(DOCUMENTFRAGMENT, DocumentFragment) \ | 50 V(DOCUMENTFRAGMENT, DocumentFragment) \ |
| 49 V(DOCUMENTTYPE, DocumentType) \ | 51 V(DOCUMENTTYPE, DocumentType) \ |
| 50 V(ELEMENT, Element) \ | 52 V(ELEMENT, Element) \ |
| 51 V(ENTITY, Entity) \ | 53 V(ENTITY, Entity) \ |
| 52 V(ENTITYREFERENCE, EntityReference) \ | 54 V(ENTITYREFERENCE, EntityReference) \ |
| 53 V(HTMLDOCUMENT, HTMLDocument) \ | 55 V(HTMLDOCUMENT, HTMLDocument) \ |
| 54 V(NODE, Node) \ | 56 V(NODE, Node) \ |
| 55 V(NOTATION, Notation) \ | 57 V(NOTATION, Notation) \ |
| 56 V(PROCESSINGINSTRUCTION, ProcessingInstruction) \ | 58 V(PROCESSINGINSTRUCTION, ProcessingInstruction) \ |
| 57 V(TEXT, Text) \ | 59 V(TEXT, Text) \ |
| (...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 } | 497 } |
| 496 | 498 |
| 497 static FunctionTemplateFactory GetFactory(V8WrapperType type); | 499 static FunctionTemplateFactory GetFactory(V8WrapperType type); |
| 498 // Returns a field to be used as cache for the template for the given type | 500 // Returns a field to be used as cache for the template for the given type |
| 499 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type); | 501 static v8::Persistent<v8::FunctionTemplate>* GetCache(V8WrapperType type); |
| 500 }; | 502 }; |
| 501 | 503 |
| 502 } | 504 } |
| 503 | 505 |
| 504 #endif // V8_INDEX_H__ | 506 #endif // V8_INDEX_H__ |
| OLD | NEW |