Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: Source/WebCore/css/CSSMutableStyleDeclaration.h

Issue 7002001: Revert 79985 - 2011-03-01 Nikolas Zimmermann <nzimmermann@rim.com> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/WebCore/css/CSSComputedStyleDeclaration.h ('k') | Source/WebCore/css/CSSMutableStyleDeclaration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698