Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Side by Side Diff: Source/core/rendering/style/RenderStyle.h

Issue 241713002: Remove some dead code from rendering/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 // Apple-specific property getter methods 900 // Apple-specific property getter methods
901 EPointerEvents pointerEvents() const { return static_cast<EPointerEvents>(in herited_flags._pointerEvents); } 901 EPointerEvents pointerEvents() const { return static_cast<EPointerEvents>(in herited_flags._pointerEvents); }
902 const CSSAnimationDataList* animations() const { return rareNonInheritedData ->m_animations.get(); } 902 const CSSAnimationDataList* animations() const { return rareNonInheritedData ->m_animations.get(); }
903 const CSSAnimationDataList* transitions() const { return rareNonInheritedDat a->m_transitions.get(); } 903 const CSSAnimationDataList* transitions() const { return rareNonInheritedDat a->m_transitions.get(); }
904 904
905 CSSAnimationDataList* accessAnimations(); 905 CSSAnimationDataList* accessAnimations();
906 CSSAnimationDataList* accessTransitions(); 906 CSSAnimationDataList* accessTransitions();
907 907
908 bool hasAnimations() const { return rareNonInheritedData->m_animations && ra reNonInheritedData->m_animations->size() > 0; } 908 bool hasAnimations() const { return rareNonInheritedData->m_animations && ra reNonInheritedData->m_animations->size() > 0; }
909 909
910 // return the first found Animation (including 'all' transitions)
911 const CSSAnimationData* transitionForProperty(CSSPropertyID) const;
912
913 ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt yle3D>(rareNonInheritedData->m_transformStyle3D); } 910 ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt yle3D>(rareNonInheritedData->m_transformStyle3D); }
914 bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D = = TransformStyle3DPreserve3D; } 911 bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D = = TransformStyle3DPreserve3D; }
915 912
916 EBackfaceVisibility backfaceVisibility() const { return static_cast<EBackfac eVisibility>(rareNonInheritedData->m_backfaceVisibility); } 913 EBackfaceVisibility backfaceVisibility() const { return static_cast<EBackfac eVisibility>(rareNonInheritedData->m_backfaceVisibility); }
917 float perspective() const { return rareNonInheritedData->m_perspective; } 914 float perspective() const { return rareNonInheritedData->m_perspective; }
918 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0 ; } 915 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0 ; }
919 const Length& perspectiveOriginX() const { return rareNonInheritedData->m_pe rspectiveOriginX; } 916 const Length& perspectiveOriginX() const { return rareNonInheritedData->m_pe rspectiveOriginX; }
920 const Length& perspectiveOriginY() const { return rareNonInheritedData->m_pe rspectiveOriginY; } 917 const Length& perspectiveOriginY() const { return rareNonInheritedData->m_pe rspectiveOriginY; }
921 const LengthSize& pageSize() const { return rareNonInheritedData->m_pageSize ; } 918 const LengthSize& pageSize() const { return rareNonInheritedData->m_pageSize ; }
922 PageSizeType pageSizeType() const { return static_cast<PageSizeType>(rareNon InheritedData->m_pageSizeType); } 919 PageSizeType pageSizeType() const { return static_cast<PageSizeType>(rareNon InheritedData->m_pageSizeType); }
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 inline bool RenderStyle::hasPseudoElementStyle() const 1865 inline bool RenderStyle::hasPseudoElementStyle() const
1869 { 1866 {
1870 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; 1867 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK;
1871 } 1868 }
1872 1869
1873 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1870 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1874 1871
1875 } // namespace WebCore 1872 } // namespace WebCore
1876 1873
1877 #endif // RenderStyle_h 1874 #endif // RenderStyle_h
OLDNEW
« no previous file with comments | « Source/core/rendering/style/KeyframeList.cpp ('k') | Source/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698