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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 126 |
127 class CORE_EXPORT ComputedStyle: public RefCounted<ComputedStyle> { | 127 class CORE_EXPORT ComputedStyle: public RefCounted<ComputedStyle> { |
128 friend class AnimatedStyleBuilder; // Used by Web Animations CSS. Sets the c
olor styles | 128 friend class AnimatedStyleBuilder; // Used by Web Animations CSS. Sets the c
olor styles |
129 friend class CSSAnimatableValueFactory; // Used by Web Animations CSS. Gets
visited and unvisited colors separately. | 129 friend class CSSAnimatableValueFactory; // Used by Web Animations CSS. Gets
visited and unvisited colors separately. |
130 friend class CSSPropertyEquality; // Used by CSS animations. We can't allow
them to animate based off visited colors. | 130 friend class CSSPropertyEquality; // Used by CSS animations. We can't allow
them to animate based off visited colors. |
131 friend class ApplyStyleCommand; // Editing has to only reveal unvisited info
. | 131 friend class ApplyStyleCommand; // Editing has to only reveal unvisited info
. |
132 friend class EditingStyle; // Editing has to only reveal unvisited info. | 132 friend class EditingStyle; // Editing has to only reveal unvisited info. |
133 friend class ComputedStyleCSSValueMapping; // Needs to be able to see visite
d and unvisited colors for devtools. | 133 friend class ComputedStyleCSSValueMapping; // Needs to be able to see visite
d and unvisited colors for devtools. |
134 friend class StyleBuilderFunctions; // Sets color styles | 134 friend class StyleBuilderFunctions; // Sets color styles |
135 friend class CachedUAStyle; // Saves Border/Background information for later
comparison. | 135 friend class CachedUAStyle; // Saves Border/Background information for later
comparison. |
| 136 friend class LengthPropertyFunctions; // Reads initial style values. |
136 | 137 |
137 // FIXME: When we stop resolving currentColor at style time, these can be re
moved. | 138 // FIXME: When we stop resolving currentColor at style time, these can be re
moved. |
138 friend class CSSToStyleMap; | 139 friend class CSSToStyleMap; |
139 friend class FilterOperationResolver; | 140 friend class FilterOperationResolver; |
140 friend class StyleBuilderConverter; | 141 friend class StyleBuilderConverter; |
141 friend class StyleResolverState; | 142 friend class StyleResolverState; |
142 friend class StyleResolver; | 143 friend class StyleResolver; |
143 protected: | 144 protected: |
144 | 145 |
145 // non-inherited attributes | 146 // non-inherited attributes |
(...skipping 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1935 } | 1936 } |
1936 | 1937 |
1937 inline bool ComputedStyle::hasPseudoElementStyle() const | 1938 inline bool ComputedStyle::hasPseudoElementStyle() const |
1938 { | 1939 { |
1939 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1940 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1940 } | 1941 } |
1941 | 1942 |
1942 } // namespace blink | 1943 } // namespace blink |
1943 | 1944 |
1944 #endif // ComputedStyle_h | 1945 #endif // ComputedStyle_h |
OLD | NEW |