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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 void setEventListenerForXSLT(PassRefPtrWillBeRawPtr<DetachableEventListener>
listener) { m_listenerForXSLT = listener; } | 76 void setEventListenerForXSLT(PassRefPtrWillBeRawPtr<DetachableEventListener>
listener) { m_listenerForXSLT = listener; } |
77 EventListener* eventListenerForXSLT(); | 77 EventListener* eventListenerForXSLT(); |
78 void clearEventListenerForXSLT(); | 78 void clearEventListenerForXSLT(); |
79 | 79 |
80 private: | 80 private: |
81 ProcessingInstruction(Document&, const String& target, const String& data); | 81 ProcessingInstruction(Document&, const String& target, const String& data); |
82 | 82 |
83 String nodeName() const override; | 83 String nodeName() const override; |
84 NodeType nodeType() const override; | 84 NodeType nodeType() const override; |
85 PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) override; | 85 PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) override; |
86 | 86 |
87 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 87 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
88 void removedFrom(ContainerNode*) override; | 88 void removedFrom(ContainerNode*) override; |
89 | 89 |
90 bool checkStyleSheet(String& href, String& charset); | 90 bool checkStyleSheet(String& href, String& charset); |
91 void process(const String& href, const String& charset); | 91 void process(const String& href, const String& charset); |
92 | 92 |
93 void setCSSStyleSheet(const String& href, const KURL& baseURL, const String&
charset, const CSSStyleSheetResource*) override; | 93 void setCSSStyleSheet(const String& href, const KURL& baseURL, const String&
charset, const CSSStyleSheetResource*) override; |
94 void setXSLStyleSheet(const String& href, const KURL& baseURL, const String&
sheet) override; | 94 void setXSLStyleSheet(const String& href, const KURL& baseURL, const String&
sheet) override; |
95 | 95 |
(...skipping 21 matching lines...) Expand all 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 |