| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) | 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2002, 2006, 2012 Apple Computer, Inc. | 4 * Copyright (C) 2002, 2006, 2012 Apple Computer, Inc. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #include "wtf/PassRefPtr.h" | 27 #include "wtf/PassRefPtr.h" |
| 28 #include "wtf/RefPtr.h" | 28 #include "wtf/RefPtr.h" |
| 29 #include "wtf/Vector.h" | 29 #include "wtf/Vector.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class CSSRule; | 33 class CSSRule; |
| 34 class CSSStyleSheet; | 34 class CSSStyleSheet; |
| 35 | 35 |
| 36 class CSSRuleList : public NoBaseWillBeGarbageCollectedFinalized<CSSRuleList>, p
ublic ScriptWrappable { | 36 class CSSRuleList : public NoBaseWillBeGarbageCollectedFinalized<CSSRuleList>, p
ublic ScriptWrappable { |
| 37 DEFINE_WRAPPERTYPEINFO(); |
| 38 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 37 WTF_MAKE_NONCOPYABLE(CSSRuleList); | 39 WTF_MAKE_NONCOPYABLE(CSSRuleList); |
| 38 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | |
| 39 public: | 40 public: |
| 40 virtual ~CSSRuleList(); | 41 virtual ~CSSRuleList(); |
| 41 | 42 |
| 42 #if !ENABLE(OILPAN) | 43 #if !ENABLE(OILPAN) |
| 43 virtual void ref() = 0; | 44 virtual void ref() = 0; |
| 44 virtual void deref() = 0; | 45 virtual void deref() = 0; |
| 45 #endif | 46 #endif |
| 46 | 47 |
| 47 virtual unsigned length() const = 0; | 48 virtual unsigned length() const = 0; |
| 48 virtual CSSRule* item(unsigned index) const = 0; | 49 virtual CSSRule* item(unsigned index) const = 0; |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 virtual unsigned length() const OVERRIDE { return m_rule->length(); } | 112 virtual unsigned length() const OVERRIDE { return m_rule->length(); } |
| 112 virtual CSSRule* item(unsigned index) const OVERRIDE { return m_rule->item(i
ndex); } | 113 virtual CSSRule* item(unsigned index) const OVERRIDE { return m_rule->item(i
ndex); } |
| 113 virtual CSSStyleSheet* styleSheet() const OVERRIDE { return m_rule->parentSt
yleSheet(); } | 114 virtual CSSStyleSheet* styleSheet() const OVERRIDE { return m_rule->parentSt
yleSheet(); } |
| 114 | 115 |
| 115 RawPtrWillBeMember<Rule> m_rule; | 116 RawPtrWillBeMember<Rule> m_rule; |
| 116 }; | 117 }; |
| 117 | 118 |
| 118 } // namespace blink | 119 } // namespace blink |
| 119 | 120 |
| 120 #endif // CSSRuleList_h | 121 #endif // CSSRuleList_h |
| OLD | NEW |