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 1834 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1845 static WrapFlow initialWrapFlow() { return WrapFlowAuto; } | 1845 static WrapFlow initialWrapFlow() { return WrapFlowAuto; } |
1846 static WrapThrough initialWrapThrough() { return WrapThroughWrap; } | 1846 static WrapThrough initialWrapThrough() { return WrapThroughWrap; } |
1847 | 1847 |
1848 static QuotesData* initialQuotes() { return 0; } | 1848 static QuotesData* initialQuotes() { return 0; } |
1849 | 1849 |
1850 // Keep these at the end. | 1850 // Keep these at the end. |
1851 // FIXME: Why? Seems these should all be one big sorted list. | 1851 // FIXME: Why? Seems these should all be one big sorted list. |
1852 static LineClampValue initialLineClamp() { return LineClampValue(); } | 1852 static LineClampValue initialLineClamp() { return LineClampValue(); } |
1853 static ETextSecurity initialTextSecurity() { return TSNONE; } | 1853 static ETextSecurity initialTextSecurity() { return TSNONE; } |
1854 static Color initialTapHighlightColor(); | 1854 static Color initialTapHighlightColor(); |
1855 #if ENABLE(OILPAN) | |
1856 static const FilterOperations& initialFilter(); | 1855 static const FilterOperations& initialFilter(); |
1857 static const FilterOperations& initialBackdropFilter(); | 1856 static const FilterOperations& initialBackdropFilter(); |
1858 #else | |
1859 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO
perations, ops, ()); return ops; } | |
1860 static const FilterOperations& initialBackdropFilter() { DEFINE_STATIC_LOCAL
(FilterOperations, ops, ()); return ops; } | |
1861 #endif | |
1862 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; } | 1857 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; } |
1863 static EIsolation initialIsolation() { return IsolationAuto; } | 1858 static EIsolation initialIsolation() { return IsolationAuto; } |
1864 private: | 1859 private: |
1865 void setVisitedLinkColor(const Color&); | 1860 void setVisitedLinkColor(const Color&); |
1866 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBackgroundColor, v); } | 1861 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBackgroundColor, v); } |
1867 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBorderLeftColor, v); } | 1862 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBorderLeftColor, v); } |
1868 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn
heritedData, m_visitedLinkBorderRightColor, v); } | 1863 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn
heritedData, m_visitedLinkBorderRightColor, v); } |
1869 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI
nheritedData, m_visitedLinkBorderBottomColor, v); } | 1864 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI
nheritedData, m_visitedLinkBorderBottomColor, v); } |
1870 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe
ritedData, m_visitedLinkBorderTopColor, v); } | 1865 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe
ritedData, m_visitedLinkBorderTopColor, v); } |
1871 void setVisitedLinkOutlineColor(const StyleColor& v) { SET_VAR(rareNonInheri
tedData, m_visitedLinkOutlineColor, v); } | 1866 void setVisitedLinkOutlineColor(const StyleColor& v) { SET_VAR(rareNonInheri
tedData, m_visitedLinkOutlineColor, v); } |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2051 } | 2046 } |
2052 | 2047 |
2053 inline bool ComputedStyle::hasPseudoElementStyle() const | 2048 inline bool ComputedStyle::hasPseudoElementStyle() const |
2054 { | 2049 { |
2055 return noninherited_flags.pseudoBits & ElementPseudoIdMask; | 2050 return noninherited_flags.pseudoBits & ElementPseudoIdMask; |
2056 } | 2051 } |
2057 | 2052 |
2058 } // namespace blink | 2053 } // namespace blink |
2059 | 2054 |
2060 #endif // ComputedStyle_h | 2055 #endif // ComputedStyle_h |
OLD | NEW |