| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 | 47 |
| 48 bool isCSS() const { return m_isCSS; } | 48 bool isCSS() const { return m_isCSS; } |
| 49 bool isXSL() const { return m_isXSL; } | 49 bool isXSL() const { return m_isXSL; } |
| 50 | 50 |
| 51 bool isLoading() const; | 51 bool isLoading() const; |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 friend class CharacterData; | 54 friend class CharacterData; |
| 55 ProcessingInstruction(Document&, const String& target, const String& data); | 55 ProcessingInstruction(Document&, const String& target, const String& data); |
| 56 | 56 |
| 57 virtual String nodeName() const; | 57 virtual String nodeName() const OVERRIDE; |
| 58 virtual NodeType nodeType() const; | 58 virtual NodeType nodeType() const OVERRIDE; |
| 59 virtual PassRefPtr<Node> cloneNode(bool deep = true); | 59 virtual PassRefPtr<Node> cloneNode(bool deep = true) OVERRIDE; |
| 60 | 60 |
| 61 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 61 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
| 62 virtual void removedFrom(ContainerNode*) OVERRIDE; | 62 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 63 | 63 |
| 64 void checkStyleSheet(); | 64 void checkStyleSheet(); |
| 65 virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const
String& charset, const CSSStyleSheetResource*); | 65 virtual void setCSSStyleSheet(const String& href, const KURL& baseURL, const
String& charset, const CSSStyleSheetResource*) OVERRIDE; |
| 66 virtual void setXSLStyleSheet(const String& href, const KURL& baseURL, const
String& sheet); | 66 virtual void setXSLStyleSheet(const String& href, const KURL& baseURL, const
String& sheet) OVERRIDE; |
| 67 | 67 |
| 68 virtual bool sheetLoaded(); | 68 virtual bool sheetLoaded() OVERRIDE; |
| 69 | 69 |
| 70 void parseStyleSheet(const String& sheet); | 70 void parseStyleSheet(const String& sheet); |
| 71 | 71 |
| 72 String m_target; | 72 String m_target; |
| 73 String m_localHref; | 73 String m_localHref; |
| 74 String m_title; | 74 String m_title; |
| 75 String m_media; | 75 String m_media; |
| 76 RefPtr<StyleSheet> m_sheet; | 76 RefPtr<StyleSheet> m_sheet; |
| 77 bool m_loading; | 77 bool m_loading; |
| 78 bool m_alternate; | 78 bool m_alternate; |
| 79 bool m_createdByParser; | 79 bool m_createdByParser; |
| 80 bool m_isCSS; | 80 bool m_isCSS; |
| 81 bool m_isXSL; | 81 bool m_isXSL; |
| 82 }; | 82 }; |
| 83 | 83 |
| 84 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS
TRUCTION_NODE); | 84 DEFINE_NODE_TYPE_CASTS(ProcessingInstruction, nodeType() == Node::PROCESSING_INS
TRUCTION_NODE); |
| 85 | 85 |
| 86 } // namespace WebCore | 86 } // namespace WebCore |
| 87 | 87 |
| 88 #endif | 88 #endif |
| OLD | NEW |