| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 HTMLStyleElement* getNamedItem(const AtomicString&) const; | 46 HTMLStyleElement* getNamedItem(const AtomicString&) const; |
| 47 | 47 |
| 48 Document* document() { return m_treeScope ? &m_treeScope->document() : 0; } | 48 Document* document() { return m_treeScope ? &m_treeScope->document() : 0; } |
| 49 | 49 |
| 50 #if !ENABLE(OILPAN) | 50 #if !ENABLE(OILPAN) |
| 51 void detachFromDocument(); | 51 void detachFromDocument(); |
| 52 #endif | 52 #endif |
| 53 | 53 |
| 54 CSSStyleSheet* anonymousNamedGetter(const AtomicString&); | 54 CSSStyleSheet* anonymousNamedGetter(const AtomicString&); |
| 55 | 55 |
| 56 void trace(Visitor*); | |
| 57 | |
| 58 private: | 56 private: |
| 59 StyleSheetList(TreeScope*); | 57 StyleSheetList(TreeScope*); |
| 60 const Vector<RefPtr<StyleSheet> >& styleSheets(); | 58 const Vector<RefPtr<StyleSheet> >& styleSheets(); |
| 61 | 59 |
| 62 RawPtr<TreeScope> m_treeScope; | 60 RawPtr<TreeScope> m_treeScope; |
| 63 #if !ENABLE(OILPAN) | 61 #if !ENABLE(OILPAN) |
| 64 Vector<RefPtr<StyleSheet> > m_detachedStyleSheets; | 62 Vector<RefPtr<StyleSheet> > m_detachedStyleSheets; |
| 65 #endif | 63 #endif |
| 66 }; | 64 }; |
| 67 | 65 |
| 68 } // namespace blink | 66 } // namespace blink |
| 69 | 67 |
| 70 #endif // StyleSheetList_h | 68 #endif // StyleSheetList_h |
| OLD | NEW |