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

Side by Side Diff: Source/core/css/StylePropertySet.h

Issue 541383003: Clean up forward declarations in Source/core/css (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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
« no previous file with comments | « Source/core/css/StylePropertySerializer.h ('k') | Source/core/css/StyleRule.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2008, 2012 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 14 matching lines...) Expand all
25 #include "core/css/CSSPrimitiveValue.h" 25 #include "core/css/CSSPrimitiveValue.h"
26 #include "core/css/CSSProperty.h" 26 #include "core/css/CSSProperty.h"
27 #include "core/css/PropertySetCSSStyleDeclaration.h" 27 #include "core/css/PropertySetCSSStyleDeclaration.h"
28 #include "core/css/parser/CSSParserMode.h" 28 #include "core/css/parser/CSSParserMode.h"
29 #include "wtf/ListHashSet.h" 29 #include "wtf/ListHashSet.h"
30 #include "wtf/Vector.h" 30 #include "wtf/Vector.h"
31 #include "wtf/text/WTFString.h" 31 #include "wtf/text/WTFString.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 class CSSRule;
36 class CSSStyleDeclaration; 35 class CSSStyleDeclaration;
37 class Element;
38 class ImmutableStylePropertySet; 36 class ImmutableStylePropertySet;
39 class KURL;
40 class MutableStylePropertySet; 37 class MutableStylePropertySet;
41 class StylePropertyShorthand;
42 class StyleSheetContents; 38 class StyleSheetContents;
43 39
44 class StylePropertySet : public RefCountedWillBeGarbageCollectedFinalized<StyleP ropertySet> { 40 class StylePropertySet : public RefCountedWillBeGarbageCollectedFinalized<StyleP ropertySet> {
45 friend class PropertyReference; 41 friend class PropertyReference;
46 public: 42 public:
47 43
48 #if ENABLE(OILPAN) 44 #if ENABLE(OILPAN)
49 // When oilpan is enabled override the finalize method to dispatch to the su bclasses' 45 // When oilpan is enabled override the finalize method to dispatch to the su bclasses'
50 // destructor. This can be removed once the MutableStylePropertySet's OwnPtr is moved 46 // destructor. This can be removed once the MutableStylePropertySet's OwnPtr is moved
51 // to the heap. 47 // to the heap.
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const 296 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const
301 { 297 {
302 if (m_isMutable) 298 if (m_isMutable)
303 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID); 299 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID);
304 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID); 300 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID);
305 } 301 }
306 302
307 } // namespace blink 303 } // namespace blink
308 304
309 #endif // StylePropertySet_h 305 #endif // StylePropertySet_h
OLDNEW
« no previous file with comments | « Source/core/css/StylePropertySerializer.h ('k') | Source/core/css/StyleRule.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698