| 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 "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; | 32 class TreeScope; |
| 33 | 33 |
| 34 class StyleElement : public DummyBase<void> { | 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*); | 38 virtual void trace(Visitor*); |
| 39 | 39 |
| 40 protected: | 40 protected: |
| 41 virtual const AtomicString& type() const = 0; | 41 virtual const AtomicString& type() const = 0; |
| 42 virtual const AtomicString& media() const = 0; | 42 virtual const AtomicString& media() const = 0; |
| 43 | 43 |
| 44 CSSStyleSheet* sheet() const { return m_sheet.get(); } | 44 CSSStyleSheet* sheet() const { return m_sheet.get(); } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 59 | 59 |
| 60 bool m_createdByParser : 1; | 60 bool m_createdByParser : 1; |
| 61 bool m_loading : 1; | 61 bool m_loading : 1; |
| 62 bool m_registeredAsCandidate : 1; | 62 bool m_registeredAsCandidate : 1; |
| 63 TextPosition m_startPosition; | 63 TextPosition m_startPosition; |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } | 66 } |
| 67 | 67 |
| 68 #endif | 68 #endif |
| OLD | NEW |