| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 void styleTreeResolveScopedKeyframesRules(const Element*, Vector<RawPtr<Scop
edStyleResolver>, 8>&); | 105 void styleTreeResolveScopedKeyframesRules(const Element*, Vector<RawPtr<Scop
edStyleResolver>, 8>&); |
| 106 | 106 |
| 107 // |properties| is an array with |count| elements. | 107 // |properties| is an array with |count| elements. |
| 108 void applyPropertiesToStyle(const CSSPropertyValue* properties, size_t count
, RenderStyle*); | 108 void applyPropertiesToStyle(const CSSPropertyValue* properties, size_t count
, RenderStyle*); |
| 109 | 109 |
| 110 bool mediaQueryAffectedByViewportChange() const; | 110 bool mediaQueryAffectedByViewportChange() const; |
| 111 | 111 |
| 112 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something
. | 112 // FIXME: Rename to reflect the purpose, like didChangeFontSize or something
. |
| 113 void invalidateMatchedPropertiesCache(); | 113 void invalidateMatchedPropertiesCache(); |
| 114 | 114 |
| 115 void appendCSSStyleSheet(CSSStyleSheet*); | 115 MediaQueryEvaluator& medium() const { return *m_medium; } |
| 116 |
| 117 void resetMediaQueryAffectedByViewportChange(); |
| 118 void addMediaQueryAffectedByViewportChange(const MediaQueryResultList&); |
| 116 | 119 |
| 117 void notifyResizeForViewportUnits(); | 120 void notifyResizeForViewportUnits(); |
| 118 | 121 |
| 119 StyleSharingList& styleSharingList() { return m_styleSharingList; } | 122 StyleSharingList& styleSharingList() { return m_styleSharingList; } |
| 120 | 123 |
| 121 void addToStyleSharingList(Element&); | 124 void addToStyleSharingList(Element&); |
| 122 void clearStyleSharingList(); | 125 void clearStyleSharingList(); |
| 123 | 126 |
| 124 StyleResolverStats* stats() { return m_styleResolverStats.get(); } | 127 StyleResolverStats* stats() { return m_styleResolverStats.get(); } |
| 125 StyleResolverStats* statsTotals() { return m_styleResolverStatsTotals.get();
} | 128 StyleResolverStats* statsTotals() { return m_styleResolverStatsTotals.get();
} |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; | 183 OwnPtr<StyleResolverStats> m_styleResolverStatsTotals; |
| 181 unsigned m_styleResolverStatsSequence; | 184 unsigned m_styleResolverStatsSequence; |
| 182 | 185 |
| 183 // Use only for Internals::updateStyleAndReturnAffectedElementCount. | 186 // Use only for Internals::updateStyleAndReturnAffectedElementCount. |
| 184 unsigned m_accessCount; | 187 unsigned m_accessCount; |
| 185 }; | 188 }; |
| 186 | 189 |
| 187 } // namespace blink | 190 } // namespace blink |
| 188 | 191 |
| 189 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ | 192 #endif // SKY_ENGINE_CORE_CSS_RESOLVER_STYLERESOLVER_H_ |
| OLD | NEW |