Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: webkit/port/bindings/v8/v8_custom.h

Issue 14031: Fix for http://code.google.com/p/chromium/issues/detail?id=5409.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/port/bindings/v8/np_v8object.cpp ('k') | webkit/port/bindings/v8/v8_helpers.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « webkit/port/bindings/v8/np_v8object.cpp ('k') | webkit/port/bindings/v8/v8_helpers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698