| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 m_listenerForXSLT = listener; | 70 m_listenerForXSLT = listener; |
| 71 } | 71 } |
| 72 EventListener* eventListenerForXSLT(); | 72 EventListener* eventListenerForXSLT(); |
| 73 void clearEventListenerForXSLT(); | 73 void clearEventListenerForXSLT(); |
| 74 | 74 |
| 75 private: | 75 private: |
| 76 ProcessingInstruction(Document&, const String& target, const String& data); | 76 ProcessingInstruction(Document&, const String& target, const String& data); |
| 77 | 77 |
| 78 String nodeName() const override; | 78 String nodeName() const override; |
| 79 NodeType getNodeType() const override; | 79 NodeType getNodeType() const override; |
| 80 Node* cloneNode(bool deep) override; | 80 Node* cloneNode(bool deep, ExceptionState&) override; |
| 81 | 81 |
| 82 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 82 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 83 void removedFrom(ContainerNode*) override; | 83 void removedFrom(ContainerNode*) override; |
| 84 | 84 |
| 85 bool checkStyleSheet(String& href, String& charset); | 85 bool checkStyleSheet(String& href, String& charset); |
| 86 void process(const String& href, const String& charset); | 86 void process(const String& href, const String& charset); |
| 87 | 87 |
| 88 void setCSSStyleSheet(const String& href, | 88 void setCSSStyleSheet(const String& href, |
| 89 const KURL& baseURL, | 89 const KURL& baseURL, |
| 90 const String& charset, | 90 const String& charset, |
| (...skipping 27 matching lines...) Expand all Loading... |
| 118 getNodeType() == Node::kProcessingInstructionNode); | 118 getNodeType() == Node::kProcessingInstructionNode); |
| 119 | 119 |
| 120 inline bool isXSLStyleSheet(const Node& node) { | 120 inline bool isXSLStyleSheet(const Node& node) { |
| 121 return node.getNodeType() == Node::kProcessingInstructionNode && | 121 return node.getNodeType() == Node::kProcessingInstructionNode && |
| 122 toProcessingInstruction(node).isXSL(); | 122 toProcessingInstruction(node).isXSL(); |
| 123 } | 123 } |
| 124 | 124 |
| 125 } // namespace blink | 125 } // namespace blink |
| 126 | 126 |
| 127 #endif // ProcessingInstruction_h | 127 #endif // ProcessingInstruction_h |
| OLD | NEW |