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 27 matching lines...) Expand all Loading... |
38 public: | 38 public: |
39 static PassRefPtrWillBeRawPtr<ProcessingInstruction> create(Document&, const
String& target, const String& data); | 39 static PassRefPtrWillBeRawPtr<ProcessingInstruction> create(Document&, const
String& target, const String& data); |
40 ~ProcessingInstruction() override; | 40 ~ProcessingInstruction() override; |
41 DECLARE_VIRTUAL_TRACE(); | 41 DECLARE_VIRTUAL_TRACE(); |
42 | 42 |
43 const String& target() const { return m_target; } | 43 const String& target() const { return m_target; } |
44 | 44 |
45 void setCreatedByParser(bool createdByParser) { m_createdByParser = createdB
yParser; } | 45 void setCreatedByParser(bool createdByParser) { m_createdByParser = createdB
yParser; } |
46 | 46 |
47 const String& localHref() const { return m_localHref; } | 47 const String& localHref() const { return m_localHref; } |
48 StyleSheet* sheet() const { return m_sheet.get(); } | 48 StyleSheet* sheet() const; |
49 | 49 |
50 bool isCSS() const { return m_isCSS; } | 50 bool isCSS() const { return m_isCSS; } |
51 bool isXSL() const { return m_isXSL; } | 51 bool isXSL() const { return m_isXSL; } |
52 | 52 |
53 void didAttributeChanged(); | 53 void didAttributeChanged(); |
54 bool isLoading() const; | 54 bool isLoading() const; |
55 | 55 |
56 // For XSLT | 56 // For XSLT |
57 class DetachableEventListener : public WillBeGarbageCollectedMixin { | 57 class DetachableEventListener : public WillBeGarbageCollectedMixin { |
58 public: | 58 public: |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS
TRUCTION_NODE); | 117 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS
TRUCTION_NODE); |
118 | 118 |
119 inline bool isXSLStyleSheet(const Node& node) | 119 inline bool isXSLStyleSheet(const Node& node) |
120 { | 120 { |
121 return node.nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingI
nstruction(node).isXSL(); | 121 return node.nodeType() == Node::PROCESSING_INSTRUCTION_NODE && toProcessingI
nstruction(node).isXSL(); |
122 } | 122 } |
123 | 123 |
124 } // namespace blink | 124 } // namespace blink |
125 | 125 |
126 #endif // ProcessingInstruction_h | 126 #endif // ProcessingInstruction_h |
OLD | NEW |