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

Side by Side Diff: sky/engine/core/css/StylePropertySet.h

Issue 780483002: Remove the CSSOM. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/core/css/StyleKeyframe.cpp ('k') | sky/engine/core/css/StylePropertySet.cpp » ('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 "sky/engine/core/css/CSSPrimitiveValue.h" 25 #include "sky/engine/core/css/CSSPrimitiveValue.h"
26 #include "sky/engine/core/css/CSSProperty.h" 26 #include "sky/engine/core/css/CSSProperty.h"
27 #include "sky/engine/core/css/PropertySetCSSStyleDeclaration.h" 27 #include "sky/engine/core/css/PropertySetCSSStyleDeclaration.h"
28 #include "sky/engine/core/css/parser/CSSParserMode.h" 28 #include "sky/engine/core/css/parser/CSSParserMode.h"
29 #include "sky/engine/wtf/ListHashSet.h" 29 #include "sky/engine/wtf/ListHashSet.h"
30 #include "sky/engine/wtf/Vector.h" 30 #include "sky/engine/wtf/Vector.h"
31 #include "sky/engine/wtf/text/WTFString.h" 31 #include "sky/engine/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; 36 class Element;
38 class ImmutableStylePropertySet; 37 class ImmutableStylePropertySet;
39 class KURL; 38 class KURL;
40 class MutableStylePropertySet; 39 class MutableStylePropertySet;
41 class StylePropertyShorthand; 40 class StylePropertyShorthand;
42 class StyleSheetContents; 41 class StyleSheetContents;
43 42
44 class StylePropertySet : public RefCounted<StylePropertySet> { 43 class StylePropertySet : public RefCounted<StylePropertySet> {
45 friend class PropertyReference; 44 friend class PropertyReference;
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const 275 inline int StylePropertySet::findPropertyIndex(CSSPropertyID propertyID) const
277 { 276 {
278 if (m_isMutable) 277 if (m_isMutable)
279 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID); 278 return toMutableStylePropertySet(this)->findPropertyIndex(propertyID);
280 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID); 279 return toImmutableStylePropertySet(this)->findPropertyIndex(propertyID);
281 } 280 }
282 281
283 } // namespace blink 282 } // namespace blink
284 283
285 #endif // SKY_ENGINE_CORE_CSS_STYLEPROPERTYSET_H_ 284 #endif // SKY_ENGINE_CORE_CSS_STYLEPROPERTYSET_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/StyleKeyframe.cpp ('k') | sky/engine/core/css/StylePropertySet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698