| 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 11 matching lines...) Expand all Loading... |
| 22 #define StyleElement_h | 22 #define StyleElement_h |
| 23 | 23 |
| 24 #include "core/css/CSSStyleSheet.h" | 24 #include "core/css/CSSStyleSheet.h" |
| 25 #include "wtf/text/TextPosition.h" | 25 #include "wtf/text/TextPosition.h" |
| 26 | 26 |
| 27 namespace blink { | 27 namespace blink { |
| 28 | 28 |
| 29 class ContainerNode; | 29 class ContainerNode; |
| 30 class Document; | 30 class Document; |
| 31 class Element; | 31 class Element; |
| 32 class TreeScope; | |
| 33 | 32 |
| 34 class StyleElement : public WillBeGarbageCollectedMixin { | 33 class StyleElement : public WillBeGarbageCollectedMixin { |
| 35 public: | 34 public: |
| 36 StyleElement(Document*, bool createdByParser); | 35 StyleElement(Document*, bool createdByParser); |
| 37 virtual ~StyleElement(); | 36 virtual ~StyleElement(); |
| 38 virtual void trace(Visitor*); | 37 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; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 63 | 62 |
| 64 bool m_createdByParser : 1; | 63 bool m_createdByParser : 1; |
| 65 bool m_loading : 1; | 64 bool m_loading : 1; |
| 66 bool m_registeredAsCandidate : 1; | 65 bool m_registeredAsCandidate : 1; |
| 67 TextPosition m_startPosition; | 66 TextPosition m_startPosition; |
| 68 }; | 67 }; |
| 69 | 68 |
| 70 } | 69 } |
| 71 | 70 |
| 72 #endif | 71 #endif |
| OLD | NEW |