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 13 matching lines...) Expand all Loading... |
24 #include "core/css/CSSStyleSheet.h" | 24 #include "core/css/CSSStyleSheet.h" |
25 #include "core/dom/StyleEngineContext.h" | 25 #include "core/dom/StyleEngineContext.h" |
26 #include "wtf/text/TextPosition.h" | 26 #include "wtf/text/TextPosition.h" |
27 | 27 |
28 namespace blink { | 28 namespace blink { |
29 | 29 |
30 class ContainerNode; | 30 class ContainerNode; |
31 class Document; | 31 class Document; |
32 class Element; | 32 class Element; |
33 | 33 |
34 class StyleElement : public GarbageCollectedMixin { | 34 class CORE_EXPORT StyleElement : public GarbageCollectedMixin { |
35 public: | 35 public: |
36 StyleElement(Document*, bool createdByParser); | 36 StyleElement(Document*, bool createdByParser); |
37 virtual ~StyleElement(); | 37 virtual ~StyleElement(); |
38 DECLARE_VIRTUAL_TRACE(); | 38 DECLARE_VIRTUAL_TRACE(); |
39 | 39 |
40 protected: | 40 protected: |
41 enum ProcessingResult { | 41 enum ProcessingResult { |
42 ProcessingSuccessful, | 42 ProcessingSuccessful, |
43 ProcessingFatalError | 43 ProcessingFatalError |
44 }; | 44 }; |
(...skipping 24 matching lines...) Expand all Loading... |
69 bool m_createdByParser : 1; | 69 bool m_createdByParser : 1; |
70 bool m_loading : 1; | 70 bool m_loading : 1; |
71 bool m_registeredAsCandidate : 1; | 71 bool m_registeredAsCandidate : 1; |
72 TextPosition m_startPosition; | 72 TextPosition m_startPosition; |
73 StyleEngineContext m_styleEngineContext; | 73 StyleEngineContext m_styleEngineContext; |
74 }; | 74 }; |
75 | 75 |
76 } // namespace blink | 76 } // namespace blink |
77 | 77 |
78 #endif | 78 #endif |
OLD | NEW |