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, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Lesser General Public License for more details. | 13 * Lesser General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Lesser General Public | 15 * You should have received a copy of the GNU Lesser General Public |
16 * License along with this library; if not, write to the Free Software | 16 * License along with this library; if not, write to the Free Software |
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
18 * 02110-1301 USA | 18 * 02110-1301 USA |
19 */ | 19 */ |
20 | 20 |
21 #ifndef CSSComputedStyleDeclaration_h | 21 #ifndef CSSComputedStyleDeclaration_h |
22 #define CSSComputedStyleDeclaration_h | 22 #define CSSComputedStyleDeclaration_h |
23 | 23 |
24 #include "core/CoreExport.h" | |
24 #include "core/css/CSSStyleDeclaration.h" | 25 #include "core/css/CSSStyleDeclaration.h" |
25 #include "core/style/ComputedStyleConstants.h" | 26 #include "core/style/ComputedStyleConstants.h" |
26 #include "wtf/HashMap.h" | 27 #include "wtf/HashMap.h" |
27 #include "wtf/RefPtr.h" | 28 #include "wtf/RefPtr.h" |
28 #include "wtf/text/AtomicString.h" | 29 #include "wtf/text/AtomicString.h" |
29 #include "wtf/text/AtomicStringHash.h" | 30 #include "wtf/text/AtomicStringHash.h" |
30 #include "wtf/text/WTFString.h" | 31 #include "wtf/text/WTFString.h" |
31 | 32 |
32 namespace blink { | 33 namespace blink { |
33 | 34 |
34 class CSSPrimitiveValue; | 35 class CSSPrimitiveValue; |
35 class CSSValueList; | 36 class CSSValueList; |
36 class ExceptionState; | 37 class ExceptionState; |
37 class MutableStylePropertySet; | 38 class MutableStylePropertySet; |
38 class Node; | 39 class Node; |
39 class LayoutObject; | 40 class LayoutObject; |
40 class ComputedStyle; | 41 class ComputedStyle; |
41 class ShadowData; | 42 class ShadowData; |
42 class ShadowList; | 43 class ShadowList; |
43 class StyleColor; | 44 class StyleColor; |
44 class StylePropertyShorthand; | 45 class StylePropertyShorthand; |
45 | 46 |
46 class CSSComputedStyleDeclaration final : public CSSStyleDeclaration { | 47 class CORE_EXPORT CSSComputedStyleDeclaration final : public CSSStyleDeclaration { |
tasak
2015/04/15 06:08:15
non dll-interface class 'blink::CSSStyleDeclaratio
| |
47 public: | 48 public: |
48 static PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> create(PassRefPtr WillBeRawPtr<Node> node, bool allowVisitedStyle = false, const String& pseudoEle mentName = String()) | 49 static PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> create(PassRefPtr WillBeRawPtr<Node> node, bool allowVisitedStyle = false, const String& pseudoEle mentName = String()) |
49 { | 50 { |
50 return adoptRefWillBeNoop(new CSSComputedStyleDeclaration(node, allowVis itedStyle, pseudoElementName)); | 51 return adoptRefWillBeNoop(new CSSComputedStyleDeclaration(node, allowVis itedStyle, pseudoElementName)); |
51 } | 52 } |
52 virtual ~CSSComputedStyleDeclaration(); | 53 virtual ~CSSComputedStyleDeclaration(); |
53 | 54 |
54 #if !ENABLE(OILPAN) | 55 #if !ENABLE(OILPAN) |
55 virtual void ref() override; | 56 virtual void ref() override; |
56 virtual void deref() override; | 57 virtual void deref() override; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
102 PseudoId m_pseudoElementSpecifier; | 103 PseudoId m_pseudoElementSpecifier; |
103 bool m_allowVisitedStyle; | 104 bool m_allowVisitedStyle; |
104 #if !ENABLE(OILPAN) | 105 #if !ENABLE(OILPAN) |
105 unsigned m_refCount; | 106 unsigned m_refCount; |
106 #endif | 107 #endif |
107 }; | 108 }; |
108 | 109 |
109 } // namespace blink | 110 } // namespace blink |
110 | 111 |
111 #endif // CSSComputedStyleDeclaration_h | 112 #endif // CSSComputedStyleDeclaration_h |
OLD | NEW |