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 941 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
952 | 952 |
953 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh
eritedData->m_touchAction); } | 953 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh
eritedData->m_touchAction); } |
954 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe
lay>(rareInheritedData->m_touchActionDelay); } | 954 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe
lay>(rareInheritedData->m_touchActionDelay); } |
955 | 955 |
956 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r
areNonInheritedData->m_scrollBehavior); } | 956 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r
areNonInheritedData->m_scrollBehavior); } |
957 | 957 |
958 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } | 958 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } |
959 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } | 959 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } |
960 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } | 960 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } |
961 bool hasWillChangeCompositingHint() const; | 961 bool hasWillChangeCompositingHint() const; |
| 962 bool hasWillChangeGpuRasterizationHint() const; |
962 | 963 |
963 // attribute setter methods | 964 // attribute setter methods |
964 | 965 |
965 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; } | 966 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; } |
966 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay =
v; } | 967 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay =
v; } |
967 void setPosition(EPosition v) { noninherited_flags._position = v; } | 968 void setPosition(EPosition v) { noninherited_flags._position = v; } |
968 void setFloating(EFloat v) { noninherited_flags._floating = v; } | 969 void setFloating(EFloat v) { noninherited_flags._floating = v; } |
969 | 970 |
970 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v); } | 971 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v); } |
971 void setRight(Length v) { SET_VAR(surround, offset.m_right, v); } | 972 void setRight(Length v) { SET_VAR(surround, offset.m_right, v); } |
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1881 } | 1882 } |
1882 | 1883 |
1883 inline bool RenderStyle::hasPseudoElementStyle() const | 1884 inline bool RenderStyle::hasPseudoElementStyle() const |
1884 { | 1885 { |
1885 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; | 1886 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; |
1886 } | 1887 } |
1887 | 1888 |
1888 } // namespace WebCore | 1889 } // namespace WebCore |
1889 | 1890 |
1890 #endif // RenderStyle_h | 1891 #endif // RenderStyle_h |
OLD | NEW |