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 22 matching lines...) Expand all Loading... |
33 #include "bindings/core/v8/ScriptController.h" | 33 #include "bindings/core/v8/ScriptController.h" |
34 #include "bindings/core/v8/V8Binding.h" | 34 #include "bindings/core/v8/V8Binding.h" |
35 #include "core/dom/ExecutionContext.h" | 35 #include "core/dom/ExecutionContext.h" |
36 #include "core/frame/FrameConsole.h" | 36 #include "core/frame/FrameConsole.h" |
37 #include "core/frame/FrameHost.h" | 37 #include "core/frame/FrameHost.h" |
38 #include "core/frame/LocalDOMWindow.h" | 38 #include "core/frame/LocalDOMWindow.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 blink { |
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 { |
47 return adoptRefWillBeNoop(new V8CustomXPathNSResolver(resolver, isolate)); | 47 return adoptRefWillBeNoop(new V8CustomXPathNSResolver(resolver, isolate)); |
48 } | 48 } |
49 | 49 |
50 V8CustomXPathNSResolver::V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver
, v8::Isolate* isolate) | 50 V8CustomXPathNSResolver::V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver
, v8::Isolate* isolate) |
51 : m_resolver(resolver) | 51 : m_resolver(resolver) |
52 , m_isolate(isolate) | 52 , m_isolate(isolate) |
53 { | 53 { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 TOSTRING_DEFAULT(V8StringResource<TreatNullAsNullString>, returnString, retv
al, nullAtom); | 89 TOSTRING_DEFAULT(V8StringResource<TreatNullAsNullString>, returnString, retv
al, nullAtom); |
90 return returnString; | 90 return returnString; |
91 } | 91 } |
92 | 92 |
93 void V8CustomXPathNSResolver::trace(Visitor* visitor) | 93 void V8CustomXPathNSResolver::trace(Visitor* visitor) |
94 { | 94 { |
95 XPathNSResolver::trace(visitor); | 95 XPathNSResolver::trace(visitor); |
96 } | 96 } |
97 | 97 |
98 } // namespace WebCore | 98 } // namespace blink |
OLD | NEW |