| 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, 2005, 2006, 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2008 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 CSSMutableStyleDeclarationConstIterator& operator++(); | 50 CSSMutableStyleDeclarationConstIterator& operator++(); |
| 51 CSSMutableStyleDeclarationConstIterator& operator--(); | 51 CSSMutableStyleDeclarationConstIterator& operator--(); |
| 52 | 52 |
| 53 private: | 53 private: |
| 54 const CSSMutableStyleDeclaration* m_decl; | 54 const CSSMutableStyleDeclaration* m_decl; |
| 55 CSSProperty* m_current; | 55 CSSProperty* m_current; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 class CSSMutableStyleDeclaration : public CSSStyleDeclaration { | 58 class CSSMutableStyleDeclaration : public CSSStyleDeclaration { |
| 59 public: | 59 public: |
| 60 virtual ~CSSMutableStyleDeclaration(); | |
| 61 | |
| 62 static PassRefPtr<CSSMutableStyleDeclaration> create() | 60 static PassRefPtr<CSSMutableStyleDeclaration> create() |
| 63 { | 61 { |
| 64 return adoptRef(new CSSMutableStyleDeclaration); | 62 return adoptRef(new CSSMutableStyleDeclaration); |
| 65 } | 63 } |
| 66 static PassRefPtr<CSSMutableStyleDeclaration> create(CSSRule* parentRule) | 64 static PassRefPtr<CSSMutableStyleDeclaration> create(CSSRule* parentRule) |
| 67 { | 65 { |
| 68 return adoptRef(new CSSMutableStyleDeclaration(parentRule)); | 66 return adoptRef(new CSSMutableStyleDeclaration(parentRule)); |
| 69 } | 67 } |
| 70 static PassRefPtr<CSSMutableStyleDeclaration> create(CSSRule* parentRule, co
nst CSSProperty* const* properties, int numProperties) | 68 static PassRefPtr<CSSMutableStyleDeclaration> create(CSSRule* parentRule, co
nst CSSProperty* const* properties, int numProperties) |
| 71 { | 69 { |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 224 |
| 227 inline CSSMutableStyleDeclarationConstIterator& CSSMutableStyleDeclarationConstI
terator::operator--() | 225 inline CSSMutableStyleDeclarationConstIterator& CSSMutableStyleDeclarationConstI
terator::operator--() |
| 228 { | 226 { |
| 229 --m_current; | 227 --m_current; |
| 230 return *this; | 228 return *this; |
| 231 } | 229 } |
| 232 | 230 |
| 233 } // namespace WebCore | 231 } // namespace WebCore |
| 234 | 232 |
| 235 #endif // CSSMutableStyleDeclaration_h | 233 #endif // CSSMutableStyleDeclaration_h |
| OLD | NEW |