OLD | NEW |
1 // Copyright (c) 2008, Google Inc. | 1 // Copyright (c) 2008, Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 15 matching lines...) Expand all Loading... |
26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
28 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 #include "bindings/v8/custom/V8CustomXPathNSResolver.h" | 31 #include "bindings/v8/custom/V8CustomXPathNSResolver.h" |
32 | 32 |
33 #include "bindings/v8/ScriptController.h" | 33 #include "bindings/v8/ScriptController.h" |
34 #include "bindings/v8/V8Binding.h" | 34 #include "bindings/v8/V8Binding.h" |
35 #include "core/dom/ExecutionContext.h" | 35 #include "core/dom/ExecutionContext.h" |
36 #include "core/frame/DOMWindow.h" | 36 #include "core/frame/LocalDOMWindow.h" |
37 #include "core/frame/FrameConsole.h" | 37 #include "core/frame/FrameConsole.h" |
38 #include "core/frame/FrameHost.h" | 38 #include "core/frame/FrameHost.h" |
39 #include "core/frame/LocalFrame.h" | 39 #include "core/frame/LocalFrame.h" |
40 #include "core/inspector/ScriptCallStack.h" | 40 #include "core/inspector/ScriptCallStack.h" |
41 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
42 | 42 |
43 namespace WebCore { | 43 namespace WebCore { |
44 | 44 |
45 PassRefPtrWillBeRawPtr<V8CustomXPathNSResolver> V8CustomXPathNSResolver::create(
v8::Handle<v8::Object> resolver, v8::Isolate* isolate) | 45 PassRefPtrWillBeRawPtr<V8CustomXPathNSResolver> V8CustomXPathNSResolver::create(
v8::Handle<v8::Object> resolver, v8::Isolate* isolate) |
46 { | 46 { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 TOSTRING_DEFAULT(V8StringResource<WithNullCheck>, returnString, retval, null
Atom); | 93 TOSTRING_DEFAULT(V8StringResource<WithNullCheck>, returnString, retval, null
Atom); |
94 return returnString; | 94 return returnString; |
95 } | 95 } |
96 | 96 |
97 void V8CustomXPathNSResolver::trace(Visitor* visitor) | 97 void V8CustomXPathNSResolver::trace(Visitor* visitor) |
98 { | 98 { |
99 XPathNSResolver::trace(visitor); | 99 XPathNSResolver::trace(visitor); |
100 } | 100 } |
101 | 101 |
102 } // namespace WebCore | 102 } // namespace WebCore |
OLD | NEW |