| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004 Zack Rusin <zack@kde.org> | 2 * Copyright (C) 2004 Zack Rusin <zack@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 Lesser General Public | 6 * modify it under the terms of the GNU Lesser 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 Loading... |
| 25 #include "core/css/CSSStyleDeclaration.h" | 25 #include "core/css/CSSStyleDeclaration.h" |
| 26 #include "core/style/ComputedStyleConstants.h" | 26 #include "core/style/ComputedStyleConstants.h" |
| 27 #include "wtf/HashMap.h" | 27 #include "wtf/HashMap.h" |
| 28 #include "wtf/RefPtr.h" | 28 #include "wtf/RefPtr.h" |
| 29 #include "wtf/text/AtomicString.h" | 29 #include "wtf/text/AtomicString.h" |
| 30 #include "wtf/text/AtomicStringHash.h" | 30 #include "wtf/text/AtomicStringHash.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 CSSPrimitiveValue; | |
| 36 class CSSValueList; | |
| 37 class CSSVariableData; | 35 class CSSVariableData; |
| 38 class ExceptionState; | 36 class ExceptionState; |
| 39 class MutableStylePropertySet; | 37 class MutableStylePropertySet; |
| 40 class Node; | 38 class Node; |
| 41 class LayoutObject; | |
| 42 class ComputedStyle; | 39 class ComputedStyle; |
| 43 class ShadowData; | |
| 44 class ShadowList; | |
| 45 class StyleColor; | |
| 46 class StylePropertyShorthand; | |
| 47 | 40 |
| 48 class CORE_EXPORT CSSComputedStyleDeclaration final | 41 class CORE_EXPORT CSSComputedStyleDeclaration final |
| 49 : public CSSStyleDeclaration { | 42 : public CSSStyleDeclaration { |
| 50 public: | 43 public: |
| 51 static CSSComputedStyleDeclaration* create( | 44 static CSSComputedStyleDeclaration* create( |
| 52 Node* node, | 45 Node* node, |
| 53 bool allowVisitedStyle = false, | 46 bool allowVisitedStyle = false, |
| 54 const String& pseudoElementName = String()) { | 47 const String& pseudoElementName = String()) { |
| 55 return new CSSComputedStyleDeclaration(node, allowVisitedStyle, | 48 return new CSSComputedStyleDeclaration(node, allowVisitedStyle, |
| 56 pseudoElementName); | 49 pseudoElementName); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override; | 109 bool cssPropertyMatches(CSSPropertyID, const CSSValue*) const override; |
| 117 | 110 |
| 118 Member<Node> m_node; | 111 Member<Node> m_node; |
| 119 PseudoId m_pseudoElementSpecifier; | 112 PseudoId m_pseudoElementSpecifier; |
| 120 bool m_allowVisitedStyle; | 113 bool m_allowVisitedStyle; |
| 121 }; | 114 }; |
| 122 | 115 |
| 123 } // namespace blink | 116 } // namespace blink |
| 124 | 117 |
| 125 #endif // CSSComputedStyleDeclaration_h | 118 #endif // CSSComputedStyleDeclaration_h |
| OLD | NEW |