OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "core/xml/DocumentXSLT.h" | 5 #include "core/xml/DocumentXSLT.h" |
6 | 6 |
7 #include "bindings/core/v8/DOMWrapperWorld.h" | |
8 #include "bindings/core/v8/ScriptState.h" | 7 #include "bindings/core/v8/ScriptState.h" |
9 #include "bindings/core/v8/V8AbstractEventListener.h" | 8 #include "bindings/core/v8/V8AbstractEventListener.h" |
10 #include "bindings/core/v8/V8BindingForCore.h" | 9 #include "bindings/core/v8/V8BindingForCore.h" |
11 #include "core/dom/Document.h" | 10 #include "core/dom/Document.h" |
12 #include "core/dom/ExecutionContext.h" | 11 #include "core/dom/ExecutionContext.h" |
13 #include "core/dom/Node.h" | 12 #include "core/dom/Node.h" |
14 #include "core/dom/ProcessingInstruction.h" | 13 #include "core/dom/ProcessingInstruction.h" |
15 #include "core/events/Event.h" | 14 #include "core/events/Event.h" |
16 #include "core/events/EventListener.h" | 15 #include "core/events/EventListener.h" |
17 #include "core/frame/UseCounter.h" | 16 #include "core/frame/UseCounter.h" |
18 #include "core/probe/CoreProbes.h" | 17 #include "core/probe/CoreProbes.h" |
19 #include "core/xml/XSLStyleSheet.h" | 18 #include "core/xml/XSLStyleSheet.h" |
20 #include "core/xml/XSLTProcessor.h" | 19 #include "core/xml/XSLTProcessor.h" |
| 20 #include "platform/bindings/DOMWrapperWorld.h" |
21 | 21 |
22 namespace blink { | 22 namespace blink { |
23 | 23 |
24 class DOMContentLoadedListener final | 24 class DOMContentLoadedListener final |
25 : public V8AbstractEventListener, | 25 : public V8AbstractEventListener, |
26 public ProcessingInstruction::DetachableEventListener { | 26 public ProcessingInstruction::DetachableEventListener { |
27 USING_GARBAGE_COLLECTED_MIXIN(DOMContentLoadedListener); | 27 USING_GARBAGE_COLLECTED_MIXIN(DOMContentLoadedListener); |
28 | 28 |
29 public: | 29 public: |
30 static DOMContentLoadedListener* Create(ScriptState* script_state, | 30 static DOMContentLoadedListener* Create(ScriptState* script_state, |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 } | 190 } |
191 return *supplement; | 191 return *supplement; |
192 } | 192 } |
193 | 193 |
194 DEFINE_TRACE(DocumentXSLT) { | 194 DEFINE_TRACE(DocumentXSLT) { |
195 visitor->Trace(transform_source_document_); | 195 visitor->Trace(transform_source_document_); |
196 Supplement<Document>::Trace(visitor); | 196 Supplement<Document>::Trace(visitor); |
197 } | 197 } |
198 | 198 |
199 } // namespace blink | 199 } // namespace blink |
OLD | NEW |