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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 String nodeName() const override; | 73 String nodeName() const override; |
74 NodeType getNodeType() const override; | 74 NodeType getNodeType() const override; |
75 Node* cloneNode(bool deep) override; | 75 Node* cloneNode(bool deep) override; |
76 | 76 |
77 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 77 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
78 void removedFrom(ContainerNode*) override; | 78 void removedFrom(ContainerNode*) override; |
79 | 79 |
80 bool checkStyleSheet(String& href, String& charset); | 80 bool checkStyleSheet(String& href, String& charset); |
81 void process(const String& href, const String& charset); | 81 void process(const String& href, const String& charset); |
82 | 82 |
83 void setCSSStyleSheet(const String& href, const KURL& baseURL, const String&
charset, const CSSStyleSheetResource*) override; | 83 void setCSSStyleSheet(const String& href, const KURL& baseURL, const String&
charset, CSSStyleSheetResource*) override; |
84 void setXSLStyleSheet(const String& href, const KURL& baseURL, const String&
sheet) override; | 84 void setXSLStyleSheet(const String& href, const KURL& baseURL, const String&
sheet) override; |
85 | 85 |
86 bool sheetLoaded() override; | 86 bool sheetLoaded() override; |
87 | 87 |
88 void parseStyleSheet(const String& sheet); | 88 void parseStyleSheet(const String& sheet); |
89 void clearSheet(); | 89 void clearSheet(); |
90 | 90 |
91 String debugName() const override { return "ProcessingInstruction"; } | 91 String debugName() const override { return "ProcessingInstruction"; } |
92 | 92 |
93 String m_target; | 93 String m_target; |
(...skipping 13 matching lines...) Expand all Loading... |
107 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, getNodeType() == Node::kProcessing
InstructionNode); | 107 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, getNodeType() == Node::kProcessing
InstructionNode); |
108 | 108 |
109 inline bool isXSLStyleSheet(const Node& node) | 109 inline bool isXSLStyleSheet(const Node& node) |
110 { | 110 { |
111 return node.getNodeType() == Node::kProcessingInstructionNode && toProcessin
gInstruction(node).isXSL(); | 111 return node.getNodeType() == Node::kProcessingInstructionNode && toProcessin
gInstruction(node).isXSL(); |
112 } | 112 } |
113 | 113 |
114 } // namespace blink | 114 } // namespace blink |
115 | 115 |
116 #endif // ProcessingInstruction_h | 116 #endif // ProcessingInstruction_h |
OLD | NEW |