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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 bool sheetLoaded(Document&); | 46 bool sheetLoaded(Document&); |
47 void startLoadingDynamicSheet(Document&); | 47 void startLoadingDynamicSheet(Document&); |
48 | 48 |
49 void processStyleSheet(Document&, Element*); | 49 void processStyleSheet(Document&, Element*); |
50 void removedFromDocument(Document&, Element*); | 50 void removedFromDocument(Document&, Element*); |
51 void removedFromDocument(Document&, Element*, ContainerNode* scopingNode, Tr
eeScope&); | 51 void removedFromDocument(Document&, Element*, ContainerNode* scopingNode, Tr
eeScope&); |
52 void clearDocumentData(Document&, Element*); | 52 void clearDocumentData(Document&, Element*); |
53 void childrenChanged(Element*); | 53 void childrenChanged(Element*); |
54 void finishParsingChildren(Element*); | 54 void finishParsingChildren(Element*); |
55 | 55 |
56 RefPtr<CSSStyleSheet> m_sheet; | 56 RefPtrWillBePersistent<CSSStyleSheet> m_sheet; |
57 | 57 |
58 private: | 58 private: |
59 void createSheet(Element*, const String& text = String()); | 59 void createSheet(Element*, const String& text = String()); |
60 void process(Element*); | 60 void process(Element*); |
61 void clearSheet(Element* ownerElement = 0); | 61 void clearSheet(Element* ownerElement = 0); |
62 | 62 |
63 bool m_createdByParser; | 63 bool m_createdByParser; |
64 bool m_loading; | 64 bool m_loading; |
65 TextPosition m_startPosition; | 65 TextPosition m_startPosition; |
66 }; | 66 }; |
67 | 67 |
68 } | 68 } |
69 | 69 |
70 #endif | 70 #endif |
OLD | NEW |