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_PROXY_H__ | 5 #ifndef V8_PROXY_H__ |
6 #define V8_PROXY_H__ | 6 #define V8_PROXY_H__ |
7 | 7 |
8 #include <v8.h> | 8 #include <v8.h> |
9 #include "v8_index.h" | |
10 #include "v8_utility.h" | 9 #include "v8_utility.h" |
11 #include "ChromiumBridge.h" | 10 #include "ChromiumBridge.h" |
12 #include "Node.h" | 11 #include "Node.h" |
13 #include "NodeFilter.h" | 12 #include "NodeFilter.h" |
14 #include "PlatformString.h" // for WebCore::String | 13 #include "PlatformString.h" // for WebCore::String |
15 #include "ScriptSourceCode.h" // for WebCore::ScriptSourceCode | 14 #include "ScriptSourceCode.h" // for WebCore::ScriptSourceCode |
16 #include "SecurityOrigin.h" // for WebCore::SecurityOrigin | 15 #include "SecurityOrigin.h" // for WebCore::SecurityOrigin |
17 #include "V8CustomBinding.h" | 16 #include "V8CustomBinding.h" |
18 #include "V8DOMMap.h" | 17 #include "V8DOMMap.h" |
19 #include "V8EventListenerList.h" | 18 #include "V8EventListenerList.h" |
| 19 #include "V8Index.h" |
20 #include <wtf/Assertions.h> | 20 #include <wtf/Assertions.h> |
21 #include <wtf/PassRefPtr.h> // so generated bindings don't have to | 21 #include <wtf/PassRefPtr.h> // so generated bindings don't have to |
22 #include <wtf/Vector.h> | 22 #include <wtf/Vector.h> |
23 | 23 |
24 #include <iterator> | 24 #include <iterator> |
25 #include <list> | 25 #include <list> |
26 | 26 |
27 #ifdef ENABLE_DOM_STATS_COUNTERS | 27 #ifdef ENABLE_DOM_STATS_COUNTERS |
28 #define INC_STATS(name) ChromiumBridge::incrementStatsCounter(name) | 28 #define INC_STATS(name) ChromiumBridge::incrementStatsCounter(name) |
29 #else | 29 #else |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
664 V8Proxy::SetDOMWrapper(args.Holder(), tag, obj.get()); | 664 V8Proxy::SetDOMWrapper(args.Holder(), tag, obj.get()); |
665 obj->ref(); | 665 obj->ref(); |
666 V8Proxy::SetJSWrapperForDOMObject( | 666 V8Proxy::SetJSWrapperForDOMObject( |
667 obj.get(), v8::Persistent<v8::Object>::New(args.Holder())); | 667 obj.get(), v8::Persistent<v8::Object>::New(args.Holder())); |
668 return args.Holder(); | 668 return args.Holder(); |
669 } | 669 } |
670 | 670 |
671 } // namespace WebCore | 671 } // namespace WebCore |
672 | 672 |
673 #endif // V8_PROXY_H__ | 673 #endif // V8_PROXY_H__ |
OLD | NEW |