OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 class TranslateTransformOperation; | 125 class TranslateTransformOperation; |
126 | 126 |
127 class ContentData; | 127 class ContentData; |
128 | 128 |
129 typedef Vector<RefPtr<ComputedStyle>, 4> PseudoStyleCache; | 129 typedef Vector<RefPtr<ComputedStyle>, 4> PseudoStyleCache; |
130 | 130 |
131 class CORE_EXPORT ComputedStyle: public RefCounted<ComputedStyle> { | 131 class CORE_EXPORT ComputedStyle: public RefCounted<ComputedStyle> { |
132 friend class AnimatedStyleBuilder; // Used by Web Animations CSS. Sets the c
olor styles | 132 friend class AnimatedStyleBuilder; // Used by Web Animations CSS. Sets the c
olor styles |
133 friend class CSSAnimatableValueFactory; // Used by Web Animations CSS. Gets
visited and unvisited colors separately. | 133 friend class CSSAnimatableValueFactory; // Used by Web Animations CSS. Gets
visited and unvisited colors separately. |
134 friend class CSSPropertyEquality; // Used by CSS animations. We can't allow
them to animate based off visited colors. | 134 friend class CSSPropertyEquality; // Used by CSS animations. We can't allow
them to animate based off visited colors. |
| 135 friend class CSSPropertyEqualityCustom; // Used by CSS animations. We can't
allow them to animate based off visited colors. |
135 friend class ApplyStyleCommand; // Editing has to only reveal unvisited info
. | 136 friend class ApplyStyleCommand; // Editing has to only reveal unvisited info
. |
136 friend class EditingStyle; // Editing has to only reveal unvisited info. | 137 friend class EditingStyle; // Editing has to only reveal unvisited info. |
137 friend class ComputedStyleCSSValueMapping; // Needs to be able to see visite
d and unvisited colors for devtools. | 138 friend class ComputedStyleCSSValueMapping; // Needs to be able to see visite
d and unvisited colors for devtools. |
138 friend class StyleBuilderFunctions; // Sets color styles | 139 friend class StyleBuilderFunctions; // Sets color styles |
139 friend class CachedUAStyle; // Saves Border/Background information for later
comparison. | 140 friend class CachedUAStyle; // Saves Border/Background information for later
comparison. |
140 friend class ColorPropertyFunctions; // Accesses visited and unvisited color
s. | 141 friend class ColorPropertyFunctions; // Accesses visited and unvisited color
s. |
141 | 142 |
142 // FIXME: When we stop resolving currentColor at style time, these can be re
moved. | 143 // FIXME: When we stop resolving currentColor at style time, these can be re
moved. |
143 friend class CSSToStyleMap; | 144 friend class CSSToStyleMap; |
144 friend class FilterOperationResolver; | 145 friend class FilterOperationResolver; |
(...skipping 1889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2034 } | 2035 } |
2035 | 2036 |
2036 inline bool ComputedStyle::hasPseudoElementStyle() const | 2037 inline bool ComputedStyle::hasPseudoElementStyle() const |
2037 { | 2038 { |
2038 return noninherited_flags.pseudoBits & ElementPseudoIdMask; | 2039 return noninherited_flags.pseudoBits & ElementPseudoIdMask; |
2039 } | 2040 } |
2040 | 2041 |
2041 } // namespace blink | 2042 } // namespace blink |
2042 | 2043 |
2043 #endif // ComputedStyle_h | 2044 #endif // ComputedStyle_h |
OLD | NEW |