| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|    53 #include "core/rendering/style/StyleMultiColData.h" |    53 #include "core/rendering/style/StyleMultiColData.h" | 
|    54 #include "core/rendering/style/StyleRareInheritedData.h" |    54 #include "core/rendering/style/StyleRareInheritedData.h" | 
|    55 #include "core/rendering/style/StyleRareNonInheritedData.h" |    55 #include "core/rendering/style/StyleRareNonInheritedData.h" | 
|    56 #include "core/rendering/style/StyleReflection.h" |    56 #include "core/rendering/style/StyleReflection.h" | 
|    57 #include "core/rendering/style/StyleSurroundData.h" |    57 #include "core/rendering/style/StyleSurroundData.h" | 
|    58 #include "core/rendering/style/StyleTransformData.h" |    58 #include "core/rendering/style/StyleTransformData.h" | 
|    59 #include "core/rendering/style/StyleVisualData.h" |    59 #include "core/rendering/style/StyleVisualData.h" | 
|    60 #include "core/rendering/style/StyleWillChangeData.h" |    60 #include "core/rendering/style/StyleWillChangeData.h" | 
|    61 #include "platform/Length.h" |    61 #include "platform/Length.h" | 
|    62 #include "platform/LengthBox.h" |    62 #include "platform/LengthBox.h" | 
 |    63 #include "platform/LengthPoint.h" | 
|    63 #include "platform/LengthSize.h" |    64 #include "platform/LengthSize.h" | 
|    64 #include "platform/ThemeTypes.h" |    65 #include "platform/ThemeTypes.h" | 
|    65 #include "platform/fonts/FontBaseline.h" |    66 #include "platform/fonts/FontBaseline.h" | 
|    66 #include "platform/fonts/FontDescription.h" |    67 #include "platform/fonts/FontDescription.h" | 
|    67 #include "platform/geometry/FloatRoundedRect.h" |    68 #include "platform/geometry/FloatRoundedRect.h" | 
|    68 #include "platform/geometry/LayoutBoxExtent.h" |    69 #include "platform/geometry/LayoutBoxExtent.h" | 
|    69 #include "platform/geometry/RoundedRect.h" |    70 #include "platform/geometry/RoundedRect.h" | 
|    70 #include "platform/graphics/Color.h" |    71 #include "platform/graphics/Color.h" | 
|    71 #include "platform/graphics/GraphicsTypes.h" |    72 #include "platform/graphics/GraphicsTypes.h" | 
|    72 #include "platform/scroll/ScrollableArea.h" |    73 #include "platform/scroll/ScrollableArea.h" | 
| (...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   905  |   906  | 
|   906     CSSAnimationData& accessAnimations(); |   907     CSSAnimationData& accessAnimations(); | 
|   907     CSSTransitionData& accessTransitions(); |   908     CSSTransitionData& accessTransitions(); | 
|   908  |   909  | 
|   909     ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt
      yle3D>(rareNonInheritedData->m_transformStyle3D); } |   910     ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt
      yle3D>(rareNonInheritedData->m_transformStyle3D); } | 
|   910     bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D =
      = TransformStyle3DPreserve3D; } |   911     bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D =
      = TransformStyle3DPreserve3D; } | 
|   911  |   912  | 
|   912     EBackfaceVisibility backfaceVisibility() const { return static_cast<EBackfac
      eVisibility>(rareNonInheritedData->m_backfaceVisibility); } |   913     EBackfaceVisibility backfaceVisibility() const { return static_cast<EBackfac
      eVisibility>(rareNonInheritedData->m_backfaceVisibility); } | 
|   913     float perspective() const { return rareNonInheritedData->m_perspective; } |   914     float perspective() const { return rareNonInheritedData->m_perspective; } | 
|   914     bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0
      ; } |   915     bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0
      ; } | 
|   915     const Length& perspectiveOriginX() const { return rareNonInheritedData->m_pe
      rspectiveOriginX; } |   916     const LengthPoint& perspectiveOrigin() const { return rareNonInheritedData->
      m_perspectiveOrigin; } | 
|   916     const Length& perspectiveOriginY() const { return rareNonInheritedData->m_pe
      rspectiveOriginY; } |   917     const Length& perspectiveOriginX() const { return perspectiveOrigin().x(); } | 
 |   918     const Length& perspectiveOriginY() const { return perspectiveOrigin().y(); } | 
|   917     const LengthSize& pageSize() const { return rareNonInheritedData->m_pageSize
      ; } |   919     const LengthSize& pageSize() const { return rareNonInheritedData->m_pageSize
      ; } | 
|   918     PageSizeType pageSizeType() const { return static_cast<PageSizeType>(rareNon
      InheritedData->m_pageSizeType); } |   920     PageSizeType pageSizeType() const { return static_cast<PageSizeType>(rareNon
      InheritedData->m_pageSizeType); } | 
|   919  |   921  | 
|   920     bool hasCurrentOpacityAnimation() const { return rareNonInheritedData->m_has
      CurrentOpacityAnimation; } |   922     bool hasCurrentOpacityAnimation() const { return rareNonInheritedData->m_has
      CurrentOpacityAnimation; } | 
|   921     bool hasCurrentTransformAnimation() const { return rareNonInheritedData->m_h
      asCurrentTransformAnimation; } |   923     bool hasCurrentTransformAnimation() const { return rareNonInheritedData->m_h
      asCurrentTransformAnimation; } | 
|   922     bool hasCurrentFilterAnimation() const { return rareNonInheritedData->m_hasC
      urrentFilterAnimation; } |   924     bool hasCurrentFilterAnimation() const { return rareNonInheritedData->m_hasC
      urrentFilterAnimation; } | 
|   923     bool shouldCompositeForCurrentAnimations() { return hasCurrentOpacityAnimati
      on() || hasCurrentTransformAnimation() || hasCurrentFilterAnimation(); } |   925     bool shouldCompositeForCurrentAnimations() { return hasCurrentOpacityAnimati
      on() || hasCurrentTransformAnimation() || hasCurrentFilterAnimation(); } | 
|   924  |   926  | 
|   925     bool isRunningOpacityAnimationOnCompositor() const { return rareNonInherited
      Data->m_runningOpacityAnimationOnCompositor; } |   927     bool isRunningOpacityAnimationOnCompositor() const { return rareNonInherited
      Data->m_runningOpacityAnimationOnCompositor; } | 
|   926     bool isRunningTransformAnimationOnCompositor() const { return rareNonInherit
      edData->m_runningTransformAnimationOnCompositor; } |   928     bool isRunningTransformAnimationOnCompositor() const { return rareNonInherit
      edData->m_runningTransformAnimationOnCompositor; } | 
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1373     } |  1375     } | 
|  1374  |  1376  | 
|  1375     void clearTransitions() |  1377     void clearTransitions() | 
|  1376     { |  1378     { | 
|  1377         rareNonInheritedData.access()->m_transitions.clear(); |  1379         rareNonInheritedData.access()->m_transitions.clear(); | 
|  1378     } |  1380     } | 
|  1379  |  1381  | 
|  1380     void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
      , m_transformStyle3D, b); } |  1382     void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
      , m_transformStyle3D, b); } | 
|  1381     void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited
      Data, m_backfaceVisibility, b); } |  1383     void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited
      Data, m_backfaceVisibility, b); } | 
|  1382     void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective, 
      p); } |  1384     void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective, 
      p); } | 
|  1383     void setPerspectiveOriginX(const Length& l) { SET_VAR(rareNonInheritedData, 
      m_perspectiveOriginX, l); } |  1385     void setPerspectiveOriginX(const Length& v) { setPerspectiveOrigin(LengthPoi
      nt(v, perspectiveOriginY())); } | 
|  1384     void setPerspectiveOriginY(const Length& l) { SET_VAR(rareNonInheritedData, 
      m_perspectiveOriginY, l); } |  1386     void setPerspectiveOriginY(const Length& v) { setPerspectiveOrigin(LengthPoi
      nt(perspectiveOriginX(), v)); } | 
 |  1387     void setPerspectiveOrigin(const LengthPoint& p) { SET_VAR(rareNonInheritedDa
      ta, m_perspectiveOrigin, p); } | 
|  1385     void setPageSize(const LengthSize& s) { SET_VAR(rareNonInheritedData, m_page
      Size, s); } |  1388     void setPageSize(const LengthSize& s) { SET_VAR(rareNonInheritedData, m_page
      Size, s); } | 
|  1386     void setPageSizeType(PageSizeType t) { SET_VAR(rareNonInheritedData, m_pageS
      izeType, t); } |  1389     void setPageSizeType(PageSizeType t) { SET_VAR(rareNonInheritedData, m_pageS
      izeType, t); } | 
|  1387     void resetPageSizeType() { SET_VAR(rareNonInheritedData, m_pageSizeType, PAG
      E_SIZE_AUTO); } |  1390     void resetPageSizeType() { SET_VAR(rareNonInheritedData, m_pageSizeType, PAG
      E_SIZE_AUTO); } | 
|  1388  |  1391  | 
|  1389     void setHasCurrentOpacityAnimation(bool b = true) { SET_VAR(rareNonInherited
      Data, m_hasCurrentOpacityAnimation, b); } |  1392     void setHasCurrentOpacityAnimation(bool b = true) { SET_VAR(rareNonInherited
      Data, m_hasCurrentOpacityAnimation, b); } | 
|  1390     void setHasCurrentTransformAnimation(bool b = true) { SET_VAR(rareNonInherit
      edData, m_hasCurrentTransformAnimation, b); } |  1393     void setHasCurrentTransformAnimation(bool b = true) { SET_VAR(rareNonInherit
      edData, m_hasCurrentTransformAnimation, b); } | 
|  1391     void setHasCurrentFilterAnimation(bool b = true) { SET_VAR(rareNonInheritedD
      ata, m_hasCurrentFilterAnimation, b); } |  1394     void setHasCurrentFilterAnimation(bool b = true) { SET_VAR(rareNonInheritedD
      ata, m_hasCurrentFilterAnimation, b); } | 
|  1392  |  1395  | 
|  1393     void setIsRunningOpacityAnimationOnCompositor(bool b = true) { SET_VAR(rareN
      onInheritedData, m_runningOpacityAnimationOnCompositor, b); } |  1396     void setIsRunningOpacityAnimationOnCompositor(bool b = true) { SET_VAR(rareN
      onInheritedData, m_runningOpacityAnimationOnCompositor, b); } | 
|  1394     void setIsRunningTransformAnimationOnCompositor(bool b = true) { SET_VAR(rar
      eNonInheritedData, m_runningTransformAnimationOnCompositor, b); } |  1397     void setIsRunningTransformAnimationOnCompositor(bool b = true) { SET_VAR(rar
      eNonInheritedData, m_runningTransformAnimationOnCompositor, b); } | 
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1655     static const TransformOperations& initialTransform() { DEFINE_STATIC_LOCAL(T
      ransformOperations, ops, ()); return ops; } |  1658     static const TransformOperations& initialTransform() { DEFINE_STATIC_LOCAL(T
      ransformOperations, ops, ()); return ops; } | 
|  1656     static Length initialTransformOriginX() { return Length(50.0, Percent); } |  1659     static Length initialTransformOriginX() { return Length(50.0, Percent); } | 
|  1657     static Length initialTransformOriginY() { return Length(50.0, Percent); } |  1660     static Length initialTransformOriginY() { return Length(50.0, Percent); } | 
|  1658     static EPointerEvents initialPointerEvents() { return PE_AUTO; } |  1661     static EPointerEvents initialPointerEvents() { return PE_AUTO; } | 
|  1659     static float initialTransformOriginZ() { return 0; } |  1662     static float initialTransformOriginZ() { return 0; } | 
|  1660     static ETransformStyle3D initialTransformStyle3D() { return TransformStyle3D
      Flat; } |  1663     static ETransformStyle3D initialTransformStyle3D() { return TransformStyle3D
      Flat; } | 
|  1661     static EBackfaceVisibility initialBackfaceVisibility() { return BackfaceVisi
      bilityVisible; } |  1664     static EBackfaceVisibility initialBackfaceVisibility() { return BackfaceVisi
      bilityVisible; } | 
|  1662     static float initialPerspective() { return 0; } |  1665     static float initialPerspective() { return 0; } | 
|  1663     static Length initialPerspectiveOriginX() { return Length(50.0, Percent); } |  1666     static Length initialPerspectiveOriginX() { return Length(50.0, Percent); } | 
|  1664     static Length initialPerspectiveOriginY() { return Length(50.0, Percent); } |  1667     static Length initialPerspectiveOriginY() { return Length(50.0, Percent); } | 
 |  1668     static LengthPoint initialPerspectiveOrigin() { return LengthPoint(Length(50
      .0, Percent), Length(50.0, Percent)); } | 
|  1665     static Color initialBackgroundColor() { return Color::transparent; } |  1669     static Color initialBackgroundColor() { return Color::transparent; } | 
|  1666     static TextEmphasisFill initialTextEmphasisFill() { return TextEmphasisFillF
      illed; } |  1670     static TextEmphasisFill initialTextEmphasisFill() { return TextEmphasisFillF
      illed; } | 
|  1667     static TextEmphasisMark initialTextEmphasisMark() { return TextEmphasisMarkN
      one; } |  1671     static TextEmphasisMark initialTextEmphasisMark() { return TextEmphasisMarkN
      one; } | 
|  1668     static const AtomicString& initialTextEmphasisCustomMark() { return nullAtom
      ; } |  1672     static const AtomicString& initialTextEmphasisCustomMark() { return nullAtom
      ; } | 
|  1669     static TextEmphasisPosition initialTextEmphasisPosition() { return TextEmpha
      sisPositionOver; } |  1673     static TextEmphasisPosition initialTextEmphasisPosition() { return TextEmpha
      sisPositionOver; } | 
|  1670     static RubyPosition initialRubyPosition() { return RubyPositionBefore; } |  1674     static RubyPosition initialRubyPosition() { return RubyPositionBefore; } | 
|  1671     static LineBoxContain initialLineBoxContain() { return LineBoxContainBlock |
       LineBoxContainInline | LineBoxContainReplaced; } |  1675     static LineBoxContain initialLineBoxContain() { return LineBoxContainBlock |
       LineBoxContainInline | LineBoxContainReplaced; } | 
|  1672     static ImageOrientationEnum initialImageOrientation() { return OriginTopLeft
      ; } |  1676     static ImageOrientationEnum initialImageOrientation() { return OriginTopLeft
      ; } | 
|  1673     static EImageRendering initialImageRendering() { return ImageRenderingAuto; 
      } |  1677     static EImageRendering initialImageRendering() { return ImageRenderingAuto; 
      } | 
|  1674     static ImageResolutionSource initialImageResolutionSource() { return ImageRe
      solutionSpecified; } |  1678     static ImageResolutionSource initialImageResolutionSource() { return ImageRe
      solutionSpecified; } | 
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1918 inline bool RenderStyle::hasPseudoElementStyle() const |  1922 inline bool RenderStyle::hasPseudoElementStyle() const | 
|  1919 { |  1923 { | 
|  1920     return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |  1924     return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 
|  1921 } |  1925 } | 
|  1922  |  1926  | 
|  1923 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
      ::Radii&); |  1927 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
      ::Radii&); | 
|  1924  |  1928  | 
|  1925 } // namespace blink |  1929 } // namespace blink | 
|  1926  |  1930  | 
|  1927 #endif // RenderStyle_h |  1931 #endif // RenderStyle_h | 
| OLD | NEW |