| 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_CUSTOM_H__ | 5 #ifndef V8_CUSTOM_H__ |
| 6 #define V8_CUSTOM_H__ | 6 #define V8_CUSTOM_H__ |
| 7 | 7 |
| 8 #include <v8.h> | 8 #include <v8.h> |
| 9 #include "v8_index.h" | 9 #include "v8_index.h" |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 class HTMLCollection; | 30 class HTMLCollection; |
| 31 | 31 |
| 32 class V8Custom { | 32 class V8Custom { |
| 33 public: | 33 public: |
| 34 | 34 |
| 35 // Constants. | 35 // Constants. |
| 36 static const int kDOMWrapperTypeIndex = 0; | 36 static const int kDOMWrapperTypeIndex = 0; |
| 37 static const int kDOMWrapperObjectIndex = 1; | 37 static const int kDOMWrapperObjectIndex = 1; |
| 38 static const int kDefaultWrapperInternalFieldCount = 2; | 38 static const int kDefaultWrapperInternalFieldCount = 2; |
| 39 | 39 |
| 40 static const int kNPObjectInternalFieldCount = |
| 41 kDefaultWrapperInternalFieldCount + 0; |
| 42 |
| 40 static const int kDocumentImplementationIndex = | 43 static const int kDocumentImplementationIndex = |
| 41 kDefaultWrapperInternalFieldCount + 0; | 44 kDefaultWrapperInternalFieldCount + 0; |
| 42 static const int kDocumentMinimumInternalFieldCount = | 45 static const int kDocumentMinimumInternalFieldCount = |
| 43 kDefaultWrapperInternalFieldCount + 1; | 46 kDefaultWrapperInternalFieldCount + 1; |
| 44 | 47 |
| 45 static const int kHTMLDocumentMarkerIndex = | 48 static const int kHTMLDocumentMarkerIndex = |
| 46 kDocumentMinimumInternalFieldCount + 0; | 49 kDocumentMinimumInternalFieldCount + 0; |
| 47 static const int kHTMLDocumentShadowIndex = | 50 static const int kHTMLDocumentShadowIndex = |
| 48 kDocumentMinimumInternalFieldCount + 1; | 51 kDocumentMinimumInternalFieldCount + 1; |
| 49 static const int kHTMLDocumentInternalFieldCount = | 52 static const int kHTMLDocumentInternalFieldCount = |
| (...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 | 437 |
| 435 private: | 438 private: |
| 436 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments& args, | 439 static v8::Handle<v8::Value> WindowSetTimeoutImpl(const v8::Arguments& args, |
| 437 bool single_shot); | 440 bool single_shot); |
| 438 }; | 441 }; |
| 439 | 442 |
| 440 } // namespace WebCore | 443 } // namespace WebCore |
| 441 | 444 |
| 442 #endif // V8_CUSTOM_H__ | 445 #endif // V8_CUSTOM_H__ |
| 443 | 446 |
| OLD | NEW |