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

Side by Side Diff: sky/engine/core/rendering/style/RenderStyle.h

Issue 1068383005: Remove CSSPropertySpeak (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 const Length& perspectiveOriginX() const { return rareNonInheritedData->m_pe rspectiveOriginX; } 709 const Length& perspectiveOriginX() const { return rareNonInheritedData->m_pe rspectiveOriginX; }
710 const Length& perspectiveOriginY() const { return rareNonInheritedData->m_pe rspectiveOriginY; } 710 const Length& perspectiveOriginY() const { return rareNonInheritedData->m_pe rspectiveOriginY; }
711 const LengthSize& pageSize() const { return rareNonInheritedData->m_pageSize ; } 711 const LengthSize& pageSize() const { return rareNonInheritedData->m_pageSize ; }
712 PageSizeType pageSizeType() const { return static_cast<PageSizeType>(rareNon InheritedData->m_pageSizeType); } 712 PageSizeType pageSizeType() const { return static_cast<PageSizeType>(rareNon InheritedData->m_pageSizeType); }
713 713
714 LineBoxContain lineBoxContain() const { return rareInheritedData->m_lineBoxC ontain; } 714 LineBoxContain lineBoxContain() const { return rareInheritedData->m_lineBoxC ontain; }
715 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo r; } 715 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo r; }
716 716
717 EImageRendering imageRendering() const { return static_cast<EImageRendering> (rareInheritedData->m_imageRendering); } 717 EImageRendering imageRendering() const { return static_cast<EImageRendering> (rareInheritedData->m_imageRendering); }
718 718
719 ESpeak speak() const { return static_cast<ESpeak>(rareInheritedData->speak); }
720
721 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; } 719 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_ filter.access()->m_operations; }
722 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; } 720 const FilterOperations& filter() const { return rareNonInheritedData->m_filt er->m_operations; }
723 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); } 721 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation s.operations().isEmpty(); }
724 722
725 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); } 723 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh eritedData->m_touchAction); }
726 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); } 724 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe lay>(rareInheritedData->m_touchActionDelay); }
727 725
728 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn heritedData->m_willChange->m_properties; } 726 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn heritedData->m_willChange->m_properties; }
729 bool willChangeContents() const { return rareNonInheritedData->m_willChange- >m_contents; } 727 bool willChangeContents() const { return rareNonInheritedData->m_willChange- >m_contents; }
730 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree WillChangeContents; } 728 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree WillChangeContents; }
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 void setOverflowWrap(EOverflowWrap b) { SET_VAR(rareInheritedData, overflowW rap, b); } 963 void setOverflowWrap(EOverflowWrap b) { SET_VAR(rareInheritedData, overflowW rap, b); }
966 void setLineBreak(LineBreak b) { SET_VAR(rareInheritedData, lineBreak, b); } 964 void setLineBreak(LineBreak b) { SET_VAR(rareInheritedData, lineBreak, b); }
967 void setHighlight(const AtomicString& h) { SET_VAR(rareInheritedData, highli ght, h); } 965 void setHighlight(const AtomicString& h) { SET_VAR(rareInheritedData, highli ght, h); }
968 void setHyphens(Hyphens h) { SET_VAR(rareInheritedData, hyphens, h); } 966 void setHyphens(Hyphens h) { SET_VAR(rareInheritedData, hyphens, h); }
969 void setHyphenationString(const AtomicString& h) { SET_VAR(rareInheritedData , hyphenationString, h); } 967 void setHyphenationString(const AtomicString& h) { SET_VAR(rareInheritedData , hyphenationString, h); }
970 void setLocale(const AtomicString& locale) { SET_VAR(rareInheritedData, loca le, locale); } 968 void setLocale(const AtomicString& locale) { SET_VAR(rareInheritedData, loca le, locale); }
971 void setTransform(const TransformOperations& ops) { SET_VAR(rareNonInherited Data.access()->m_transform, m_operations, ops); } 969 void setTransform(const TransformOperations& ops) { SET_VAR(rareNonInherited Data.access()->m_transform, m_operations, ops); }
972 void setTransformOriginX(const Length& l) { SET_VAR(rareNonInheritedData.acc ess()->m_transform, m_x, l); } 970 void setTransformOriginX(const Length& l) { SET_VAR(rareNonInheritedData.acc ess()->m_transform, m_x, l); }
973 void setTransformOriginY(const Length& l) { SET_VAR(rareNonInheritedData.acc ess()->m_transform, m_y, l); } 971 void setTransformOriginY(const Length& l) { SET_VAR(rareNonInheritedData.acc ess()->m_transform, m_y, l); }
974 void setTransformOriginZ(float f) { SET_VAR(rareNonInheritedData.access()->m _transform, m_z, f); } 972 void setTransformOriginZ(float f) { SET_VAR(rareNonInheritedData.access()->m _transform, m_z, f); }
975 void setSpeak(ESpeak s) { SET_VAR(rareInheritedData, speak, s); }
976 void setTextDecorationColor(const StyleColor& c) { SET_VAR(rareNonInheritedD ata, m_textDecorationColor, c); } 973 void setTextDecorationColor(const StyleColor& c) { SET_VAR(rareNonInheritedD ata, m_textDecorationColor, c); }
977 void setTextEmphasisColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInh eritedData, textEmphasisColor, setTextEmphasisColor, c); } 974 void setTextEmphasisColor(const StyleColor& c) { SET_VAR_WITH_SETTER(rareInh eritedData, textEmphasisColor, setTextEmphasisColor, c); }
978 void setTextEmphasisFill(TextEmphasisFill fill) { SET_VAR(rareInheritedData, textEmphasisFill, fill); } 975 void setTextEmphasisFill(TextEmphasisFill fill) { SET_VAR(rareInheritedData, textEmphasisFill, fill); }
979 void setTextEmphasisMark(TextEmphasisMark mark) { SET_VAR(rareInheritedData, textEmphasisMark, mark); } 976 void setTextEmphasisMark(TextEmphasisMark mark) { SET_VAR(rareInheritedData, textEmphasisMark, mark); }
980 void setTextEmphasisCustomMark(const AtomicString& mark) { SET_VAR(rareInher itedData, textEmphasisCustomMark, mark); } 977 void setTextEmphasisCustomMark(const AtomicString& mark) { SET_VAR(rareInher itedData, textEmphasisCustomMark, mark); }
981 void setTextEmphasisPosition(TextEmphasisPosition position) { SET_VAR(rareIn heritedData, textEmphasisPosition, position); } 978 void setTextEmphasisPosition(TextEmphasisPosition position) { SET_VAR(rareIn heritedData, textEmphasisPosition, position); }
982 bool setTextOrientation(TextOrientation); 979 bool setTextOrientation(TextOrientation);
983 980
984 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit, f); } 981 void setObjectFit(ObjectFit f) { SET_VAR(rareNonInheritedData, m_objectFit, f); }
985 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData, m_objectPosition, position); } 982 void setObjectPosition(LengthPoint position) { SET_VAR(rareNonInheritedData, m_objectPosition, position); }
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 static ItemPosition initialJustifySelf() { return ItemPositionAuto; } 1149 static ItemPosition initialJustifySelf() { return ItemPositionAuto; }
1153 static OverflowAlignment initialJustifySelfOverflowAlignment() { return Over flowAlignmentDefault; } 1150 static OverflowAlignment initialJustifySelfOverflowAlignment() { return Over flowAlignmentDefault; }
1154 static EUserModify initialUserModify() { return READ_ONLY; } 1151 static EUserModify initialUserModify() { return READ_ONLY; }
1155 static EUserDrag initialUserDrag() { return DRAG_AUTO; } 1152 static EUserDrag initialUserDrag() { return DRAG_AUTO; }
1156 static EUserSelect initialUserSelect() { return SELECT_TEXT; } 1153 static EUserSelect initialUserSelect() { return SELECT_TEXT; }
1157 static TextOverflow initialTextOverflow() { return TextOverflowClip; } 1154 static TextOverflow initialTextOverflow() { return TextOverflowClip; }
1158 static EWordBreak initialWordBreak() { return NormalWordBreak; } 1155 static EWordBreak initialWordBreak() { return NormalWordBreak; }
1159 static EOverflowWrap initialOverflowWrap() { return NormalOverflowWrap; } 1156 static EOverflowWrap initialOverflowWrap() { return NormalOverflowWrap; }
1160 static LineBreak initialLineBreak() { return LineBreakAuto; } 1157 static LineBreak initialLineBreak() { return LineBreakAuto; }
1161 static const AtomicString& initialHighlight() { return nullAtom; } 1158 static const AtomicString& initialHighlight() { return nullAtom; }
1162 static ESpeak initialSpeak() { return SpeakNormal; }
1163 static const AtomicString& initialHyphenationString() { return nullAtom; } 1159 static const AtomicString& initialHyphenationString() { return nullAtom; }
1164 static const AtomicString& initialLocale() { return nullAtom; } 1160 static const AtomicString& initialLocale() { return nullAtom; }
1165 static bool initialHasAspectRatio() { return false; } 1161 static bool initialHasAspectRatio() { return false; }
1166 static float initialAspectRatioDenominator() { return 1; } 1162 static float initialAspectRatioDenominator() { return 1; }
1167 static float initialAspectRatioNumerator() { return 1; } 1163 static float initialAspectRatioNumerator() { return 1; }
1168 static Order initialRTLOrdering() { return LogicalOrder; } 1164 static Order initialRTLOrdering() { return LogicalOrder; }
1169 static float initialTextStrokeWidth() { return 0; } 1165 static float initialTextStrokeWidth() { return 0; }
1170 static unsigned short initialColumnCount() { return 1; } 1166 static unsigned short initialColumnCount() { return 1; }
1171 static ColumnFill initialColumnFill() { return ColumnFillBalance; } 1167 static ColumnFill initialColumnFill() { return ColumnFillBalance; }
1172 static const TransformOperations& initialTransform() { DEFINE_STATIC_LOCAL(T ransformOperations, ops, ()); return ops; } 1168 static const TransformOperations& initialTransform() { DEFINE_STATIC_LOCAL(T ransformOperations, ops, ()); return ops; }
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 1269
1274 rareInheritedData.access()->m_textOrientation = textOrientation; 1270 rareInheritedData.access()->m_textOrientation = textOrientation;
1275 return true; 1271 return true;
1276 } 1272 }
1277 1273
1278 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1274 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1279 1275
1280 } // namespace blink 1276 } // namespace blink
1281 1277
1282 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ 1278 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/css/parser/BisonCSSParser-in.cpp ('k') | sky/engine/core/rendering/style/RenderStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698