| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 Member<StyleSheet> m_sheet; | 97 Member<StyleSheet> m_sheet; |
| 98 StyleEngineContext m_styleEngineContext; | 98 StyleEngineContext m_styleEngineContext; |
| 99 bool m_loading; | 99 bool m_loading; |
| 100 bool m_alternate; | 100 bool m_alternate; |
| 101 bool m_isCSS; | 101 bool m_isCSS; |
| 102 bool m_isXSL; | 102 bool m_isXSL; |
| 103 | 103 |
| 104 Member<DetachableEventListener> m_listenerForXSLT; | 104 Member<DetachableEventListener> m_listenerForXSLT; |
| 105 }; | 105 }; |
| 106 | 106 |
| 107 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, getNodeType() == Node::PROCESSING_
INSTRUCTION_NODE); | 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::PROCESSING_INSTRUCTION_NODE && toProcessi
ngInstruction(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 |