| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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 Library General Public | 6 * modify it under the terms of the GNU Library 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 void removePendingAuthorStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&); | 125 void removePendingAuthorStyleSheets(const Vector<RefPtr<CSSStyleSheet> >&); |
| 126 void appendPendingAuthorStyleSheets(); | 126 void appendPendingAuthorStyleSheets(); |
| 127 bool hasPendingAuthorStyleSheets() const { return m_pendingStyleSheets.size(
) > 0 || m_needCollectFeatures; } | 127 bool hasPendingAuthorStyleSheets() const { return m_pendingStyleSheets.size(
) > 0 || m_needCollectFeatures; } |
| 128 | 128 |
| 129 void styleTreeResolveScopedKeyframesRules(const Element*, Vector<RawPtr<Scop
edStyleResolver>, 8>&); | 129 void styleTreeResolveScopedKeyframesRules(const Element*, Vector<RawPtr<Scop
edStyleResolver>, 8>&); |
| 130 | 130 |
| 131 // |properties| is an array with |count| elements. | 131 // |properties| is an array with |count| elements. |
| 132 void applyPropertiesToStyle(const CSSPropertyValue* properties, size_t count
, RenderStyle*); | 132 void applyPropertiesToStyle(const CSSPropertyValue* properties, size_t count
, RenderStyle*); |
| 133 | 133 |
| 134 void addMediaQueryResults(const MediaQueryResultList&); | 134 void addMediaQueryResults(const MediaQueryResultList&); |
| 135 MediaQueryResultList* viewportDependentMediaQueryResults() { return &m_viewp
ortDependentMediaQueryResults; } | |
| 136 bool hasViewportDependentMediaQueries() const { return !m_viewportDependentM
ediaQueryResults.isEmpty(); } | |
| 137 bool mediaQueryAffectedByViewportChange() const; | 135 bool mediaQueryAffectedByViewportChange() const; |
| 138 | 136 |
| 139 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something
. | 137 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something
. |
| 140 void invalidateMatchedPropertiesCache(); | 138 void invalidateMatchedPropertiesCache(); |
| 141 | 139 |
| 142 void notifyResizeForViewportUnits(); | 140 void notifyResizeForViewportUnits(); |
| 143 | 141 |
| 144 // Exposed for RenderStyle::isStyleAvilable(). | 142 // Exposed for RenderStyle::isStyleAvilable(). |
| 145 static RenderStyle* styleNotYetAvailable() { return s_styleNotYetAvailable;
} | 143 static RenderStyle* styleNotYetAvailable() { return s_styleNotYetAvailable;
} |
| 146 | 144 |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 245 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
| 248 unsigned m_styleResolverStatsSequence; | 246 unsigned m_styleResolverStatsSequence; |
| 249 | 247 |
| 250 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 248 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
| 251 unsigned m_accessCount; | 249 unsigned m_accessCount; |
| 252 }; | 250 }; |
| 253 | 251 |
| 254 } // namespace blink | 252 } // namespace blink |
| 255 | 253 |
| 256 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ | 254 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ |
| OLD | NEW |