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 24 matching lines...) Expand all Loading... |
35 class CSSPrimitiveValue; | 35 class CSSPrimitiveValue; |
36 class CSSValueList; | 36 class CSSValueList; |
37 class ExceptionState; | 37 class ExceptionState; |
38 class MutableStylePropertySet; | 38 class MutableStylePropertySet; |
39 class Node; | 39 class Node; |
40 class RenderObject; | 40 class RenderObject; |
41 class RenderStyle; | 41 class RenderStyle; |
42 class ShadowData; | 42 class ShadowData; |
43 class ShadowList; | 43 class ShadowList; |
44 class StyleColor; | 44 class StyleColor; |
45 class StylePropertySet; | |
46 class StylePropertyShorthand; | 45 class StylePropertyShorthand; |
47 | 46 |
48 enum EUpdateLayout { DoNotUpdateLayout = false, UpdateLayout = true }; | 47 enum EUpdateLayout { DoNotUpdateLayout = false, UpdateLayout = true }; |
49 | 48 |
50 class CSSComputedStyleDeclaration FINAL : public CSSStyleDeclaration { | 49 class CSSComputedStyleDeclaration FINAL : public CSSStyleDeclaration { |
51 public: | 50 public: |
52 static PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> create(PassRefPtr
WillBeRawPtr<Node> node, bool allowVisitedStyle = false, const String& pseudoEle
mentName = String()) | 51 static PassRefPtrWillBeRawPtr<CSSComputedStyleDeclaration> create(PassRefPtr
WillBeRawPtr<Node> node, bool allowVisitedStyle = false, const String& pseudoEle
mentName = String()) |
53 { | 52 { |
54 return adoptRefWillBeNoop(new CSSComputedStyleDeclaration(node, allowVis
itedStyle, pseudoElementName)); | 53 return adoptRefWillBeNoop(new CSSComputedStyleDeclaration(node, allowVis
itedStyle, pseudoElementName)); |
55 } | 54 } |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 PseudoId m_pseudoElementSpecifier; | 118 PseudoId m_pseudoElementSpecifier; |
120 bool m_allowVisitedStyle; | 119 bool m_allowVisitedStyle; |
121 #if !ENABLE(OILPAN) | 120 #if !ENABLE(OILPAN) |
122 unsigned m_refCount; | 121 unsigned m_refCount; |
123 #endif | 122 #endif |
124 }; | 123 }; |
125 | 124 |
126 } // namespace blink | 125 } // namespace blink |
127 | 126 |
128 #endif // CSSComputedStyleDeclaration_h | 127 #endif // CSSComputedStyleDeclaration_h |
OLD | NEW |