| 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 |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Library General Public License for more details. | 12 * Library General Public License for more details. |
| 13 * | 13 * |
| 14 * You should have received a copy of the GNU Library General Public License | 14 * You should have received a copy of the GNU Library General Public License |
| 15 * along with this library; see the file COPYING.LIB. If not, write to | 15 * along with this library; see the file COPYING.LIB. If not, write to |
| 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 * Boston, MA 02110-1301, USA. | 17 * Boston, MA 02110-1301, USA. |
| 18 * | 18 * |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #ifndef StyleElement_h | 21 #ifndef StyleElement_h |
| 22 #define StyleElement_h | 22 #define StyleElement_h |
| 23 | 23 |
| 24 #include "core/css/CSSStyleSheet.h" | 24 #include "core/css/CSSStyleSheet.h" |
| 25 #include "core/dom/StyleEngineContext.h" |
| 25 #include "wtf/text/TextPosition.h" | 26 #include "wtf/text/TextPosition.h" |
| 26 | 27 |
| 27 namespace blink { | 28 namespace blink { |
| 28 | 29 |
| 29 class ContainerNode; | 30 class ContainerNode; |
| 30 class Document; | 31 class Document; |
| 31 class Element; | 32 class Element; |
| 32 | 33 |
| 33 class StyleElement : public GarbageCollectedMixin { | 34 class StyleElement : public GarbageCollectedMixin { |
| 34 public: | 35 public: |
| (...skipping 27 matching lines...) Expand all Loading... |
| 62 | 63 |
| 63 private: | 64 private: |
| 64 ProcessingResult createSheet(Element*, const String& text = String()); | 65 ProcessingResult createSheet(Element*, const String& text = String()); |
| 65 ProcessingResult process(Element*); | 66 ProcessingResult process(Element*); |
| 66 void clearSheet(Element* ownerElement = 0); | 67 void clearSheet(Element* ownerElement = 0); |
| 67 | 68 |
| 68 bool m_createdByParser : 1; | 69 bool m_createdByParser : 1; |
| 69 bool m_loading : 1; | 70 bool m_loading : 1; |
| 70 bool m_registeredAsCandidate : 1; | 71 bool m_registeredAsCandidate : 1; |
| 71 TextPosition m_startPosition; | 72 TextPosition m_startPosition; |
| 73 StyleEngineContext m_styleEngineContext; |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 } // namespace blink | 76 } // namespace blink |
| 75 | 77 |
| 76 #endif | 78 #endif |
| OLD | NEW |