| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007 Rob Buis | 2 * Copyright (C) 2006, 2007 Rob Buis |
| 3 * | 3 * |
| 4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
| 8 * | 8 * |
| 9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 class ContainerNode; | 29 class ContainerNode; |
| 30 class Document; | 30 class Document; |
| 31 class Element; | 31 class Element; |
| 32 class TreeScope; | 32 class TreeScope; |
| 33 | 33 |
| 34 class StyleElement { | 34 class StyleElement { |
| 35 public: | 35 public: |
| 36 StyleElement(Document*, bool createdByParser); | 36 StyleElement(Document*, bool createdByParser); |
| 37 virtual ~StyleElement(); | 37 virtual ~StyleElement(); |
| 38 virtual void trace(Visitor*); | |
| 39 | 38 |
| 40 protected: | 39 protected: |
| 41 virtual const AtomicString& type() const = 0; | 40 virtual const AtomicString& type() const = 0; |
| 42 virtual const AtomicString& media() const = 0; | 41 virtual const AtomicString& media() const = 0; |
| 43 | 42 |
| 44 CSSStyleSheet* sheet() const { return m_sheet.get(); } | 43 CSSStyleSheet* sheet() const { return m_sheet.get(); } |
| 45 | 44 |
| 46 void processStyleSheet(Document&, Element*); | 45 void processStyleSheet(Document&, Element*); |
| 47 void removedFromDocument(Document&, Element*); | 46 void removedFromDocument(Document&, Element*); |
| 48 void removedFromDocument(Document&, Element*, ContainerNode* scopingNode, Tr
eeScope&); | 47 void removedFromDocument(Document&, Element*, ContainerNode* scopingNode, Tr
eeScope&); |
| (...skipping 10 matching lines...) Expand all Loading... |
| 59 | 58 |
| 60 bool m_createdByParser : 1; | 59 bool m_createdByParser : 1; |
| 61 bool m_loading : 1; | 60 bool m_loading : 1; |
| 62 bool m_registeredAsCandidate : 1; | 61 bool m_registeredAsCandidate : 1; |
| 63 TextPosition m_startPosition; | 62 TextPosition m_startPosition; |
| 64 }; | 63 }; |
| 65 | 64 |
| 66 } | 65 } |
| 67 | 66 |
| 68 #endif | 67 #endif |
| OLD | NEW |