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 1343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 void setTabSize(unsigned size) { SET_VAR(rareInheritedData, m_tabSize, size)
; } | 1354 void setTabSize(unsigned size) { SET_VAR(rareInheritedData, m_tabSize, size)
; } |
1355 | 1355 |
1356 // End CSS3 Setters | 1356 // End CSS3 Setters |
1357 | 1357 |
1358 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl
ow, wrapFlow); } | 1358 void setWrapFlow(WrapFlow wrapFlow) { SET_VAR(rareNonInheritedData, m_wrapFl
ow, wrapFlow); } |
1359 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData,
m_wrapThrough, wrapThrough); } | 1359 void setWrapThrough(WrapThrough wrapThrough) { SET_VAR(rareNonInheritedData,
m_wrapThrough, wrapThrough); } |
1360 | 1360 |
1361 // Apple-specific property setters | 1361 // Apple-specific property setters |
1362 void setPointerEvents(EPointerEvents p) { inherited_flags._pointerEvents = p
; } | 1362 void setPointerEvents(EPointerEvents p) { inherited_flags._pointerEvents = p
; } |
1363 | 1363 |
1364 void clearAnimations() | |
1365 { | |
1366 rareNonInheritedData.access()->m_animations.clear(); | |
1367 } | |
1368 | |
1369 void clearTransitions() | |
1370 { | |
1371 rareNonInheritedData.access()->m_transitions.clear(); | |
1372 } | |
1373 | |
1374 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
, m_transformStyle3D, b); } | 1364 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
, m_transformStyle3D, b); } |
1375 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited
Data, m_backfaceVisibility, b); } | 1365 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited
Data, m_backfaceVisibility, b); } |
1376 void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective,
p); } | 1366 void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective,
p); } |
1377 void setPerspectiveOriginX(const Length& v) { setPerspectiveOrigin(LengthPoi
nt(v, perspectiveOriginY())); } | 1367 void setPerspectiveOriginX(const Length& v) { setPerspectiveOrigin(LengthPoi
nt(v, perspectiveOriginY())); } |
1378 void setPerspectiveOriginY(const Length& v) { setPerspectiveOrigin(LengthPoi
nt(perspectiveOriginX(), v)); } | 1368 void setPerspectiveOriginY(const Length& v) { setPerspectiveOrigin(LengthPoi
nt(perspectiveOriginX(), v)); } |
1379 void setPerspectiveOrigin(const LengthPoint& p) { SET_VAR(rareNonInheritedDa
ta, m_perspectiveOrigin, p); } | 1369 void setPerspectiveOrigin(const LengthPoint& p) { SET_VAR(rareNonInheritedDa
ta, m_perspectiveOrigin, p); } |
1380 void setPageSize(const LengthSize& s) { SET_VAR(rareNonInheritedData, m_page
Size, s); } | 1370 void setPageSize(const LengthSize& s) { SET_VAR(rareNonInheritedData, m_page
Size, s); } |
1381 void setPageSizeType(PageSizeType t) { SET_VAR(rareNonInheritedData, m_pageS
izeType, t); } | 1371 void setPageSizeType(PageSizeType t) { SET_VAR(rareNonInheritedData, m_pageS
izeType, t); } |
1382 void resetPageSizeType() { SET_VAR(rareNonInheritedData, m_pageSizeType, PAG
E_SIZE_AUTO); } | 1372 void resetPageSizeType() { SET_VAR(rareNonInheritedData, m_pageSizeType, PAG
E_SIZE_AUTO); } |
1383 | 1373 |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1915 inline bool RenderStyle::hasPseudoElementStyle() const | 1905 inline bool RenderStyle::hasPseudoElementStyle() const |
1916 { | 1906 { |
1917 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1907 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1918 } | 1908 } |
1919 | 1909 |
1920 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1910 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
1921 | 1911 |
1922 } // namespace blink | 1912 } // namespace blink |
1923 | 1913 |
1924 #endif // RenderStyle_h | 1914 #endif // RenderStyle_h |
OLD | NEW |