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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 Node* cloneNode(bool deep, ExceptionState&) 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 ReferrerPolicy, |
90 const String& charset, | 91 const String& charset, |
91 const CSSStyleSheetResource*) override; | 92 const CSSStyleSheetResource*) override; |
92 void setXSLStyleSheet(const String& href, | 93 void setXSLStyleSheet(const String& href, |
93 const KURL& baseURL, | 94 const KURL& baseURL, |
94 const String& sheet) override; | 95 const String& sheet) override; |
95 | 96 |
96 bool sheetLoaded() override; | 97 bool sheetLoaded() override; |
97 | 98 |
98 void parseStyleSheet(const String& sheet); | 99 void parseStyleSheet(const String& sheet); |
99 void clearSheet(); | 100 void clearSheet(); |
(...skipping 18 matching lines...) Expand all Loading... |
118 getNodeType() == Node::kProcessingInstructionNode); | 119 getNodeType() == Node::kProcessingInstructionNode); |
119 | 120 |
120 inline bool isXSLStyleSheet(const Node& node) { | 121 inline bool isXSLStyleSheet(const Node& node) { |
121 return node.getNodeType() == Node::kProcessingInstructionNode && | 122 return node.getNodeType() == Node::kProcessingInstructionNode && |
122 toProcessingInstruction(node).isXSL(); | 123 toProcessingInstruction(node).isXSL(); |
123 } | 124 } |
124 | 125 |
125 } // namespace blink | 126 } // namespace blink |
126 | 127 |
127 #endif // ProcessingInstruction_h | 128 #endif // ProcessingInstruction_h |
OLD | NEW |