OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) | 2 * Copyright (C) 2000 Peter Kelly (pmk@post.com) |
3 * Copyright (C) 2006 Apple Inc. All rights reserved. | 3 * Copyright (C) 2006 Apple Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 15 matching lines...) Expand all Loading... | |
26 #include "core/fetch/ResourceOwner.h" | 26 #include "core/fetch/ResourceOwner.h" |
27 #include "core/fetch/StyleSheetResource.h" | 27 #include "core/fetch/StyleSheetResource.h" |
28 #include "core/fetch/StyleSheetResourceClient.h" | 28 #include "core/fetch/StyleSheetResourceClient.h" |
29 | 29 |
30 namespace blink { | 30 namespace blink { |
31 | 31 |
32 class StyleSheet; | 32 class StyleSheet; |
33 class CSSStyleSheet; | 33 class CSSStyleSheet; |
34 class EventListener; | 34 class EventListener; |
35 | 35 |
36 class ProcessingInstruction final : public CharacterData, private ResourceOwner< StyleSheetResource> { | 36 class ProcessingInstruction final : public CharacterData, private ResourceOwner< StyleSheetResource> { |
yhirano
2016/01/14 11:55:29
+ ResourceOwner<StyleSheetResource>::trace(visitor
Nate Chapin
2016/01/14 22:54:01
Done.
| |
37 DEFINE_WRAPPERTYPEINFO(); | 37 DEFINE_WRAPPERTYPEINFO(); |
38 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(ProcessingInstruction); | |
38 public: | 39 public: |
39 static PassRefPtrWillBeRawPtr<ProcessingInstruction> create(Document&, const String& target, const String& data); | 40 static PassRefPtrWillBeRawPtr<ProcessingInstruction> create(Document&, const String& target, const String& data); |
40 ~ProcessingInstruction() override; | 41 ~ProcessingInstruction() override; |
41 DECLARE_VIRTUAL_TRACE(); | 42 DECLARE_VIRTUAL_TRACE(); |
42 | 43 |
43 const String& target() const { return m_target; } | 44 const String& target() const { return m_target; } |
44 | 45 |
45 void setCreatedByParser(bool createdByParser) { m_createdByParser = createdB yParser; } | 46 void setCreatedByParser(bool createdByParser) { m_createdByParser = createdB yParser; } |
46 | 47 |
47 const String& localHref() const { return m_localHref; } | 48 const String& localHref() const { return m_localHref; } |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
117 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS TRUCTION_NODE); | 118 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS TRUCTION_NODE); |
118 | 119 |
119 inline bool isXSLStyleSheet(const Node& node) | 120 inline bool isXSLStyleSheet(const Node& node) |
120 { | 121 { |
121 return node.nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingI nstruction(node).isXSL(); | 122 return node.nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingI nstruction(node).isXSL(); |
122 } | 123 } |
123 | 124 |
124 } // namespace blink | 125 } // namespace blink |
125 | 126 |
126 #endif // ProcessingInstruction_h | 127 #endif // ProcessingInstruction_h |
OLD | NEW |