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

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

Issue 1070263002: remove CSS quotes property (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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 rareNonInheritedData.access()->m_clipPath = operation; 1022 rareNonInheritedData.access()->m_clipPath = operation;
1023 } 1023 }
1024 ClipPathOperation* clipPath() const { return rareNonInheritedData->m_clipPat h.get(); } 1024 ClipPathOperation* clipPath() const { return rareNonInheritedData->m_clipPat h.get(); }
1025 1025
1026 static ClipPathOperation* initialClipPath() { return 0; } 1026 static ClipPathOperation* initialClipPath() { return 0; }
1027 1027
1028 const CounterDirectiveMap* counterDirectives() const; 1028 const CounterDirectiveMap* counterDirectives() const;
1029 CounterDirectiveMap& accessCounterDirectives(); 1029 CounterDirectiveMap& accessCounterDirectives();
1030 const CounterDirectives getCounterDirectives(const AtomicString& identifier) const; 1030 const CounterDirectives getCounterDirectives(const AtomicString& identifier) const;
1031 1031
1032 QuotesData* quotes() const { return rareInheritedData->quotes.get(); }
1033 void setQuotes(PassRefPtr<QuotesData>);
1034
1035 const AtomicString& hyphenString() const; 1032 const AtomicString& hyphenString() const;
1036 1033
1037 bool inheritedNotEqual(const RenderStyle*) const; 1034 bool inheritedNotEqual(const RenderStyle*) const;
1038 bool inheritedDataShared(const RenderStyle*) const; 1035 bool inheritedDataShared(const RenderStyle*) const;
1039 1036
1040 bool requiresOnlyBlockChildren() const; 1037 bool requiresOnlyBlockChildren() const;
1041 bool isDisplayReplacedType() const { return isDisplayReplacedType(display()) ; } 1038 bool isDisplayReplacedType() const { return isDisplayReplacedType(display()) ; }
1042 bool isDisplayInlineType() const { return isDisplayInlineType(display()); } 1039 bool isDisplayInlineType() const { return isDisplayInlineType(display()); }
1043 bool isOriginalDisplayInlineType() const { return isDisplayInlineType(origin alDisplay()); } 1040 bool isOriginalDisplayInlineType() const { return isDisplayInlineType(origin alDisplay()); }
1044 bool isDisplayFlexibleBox() const { return isDisplayFlexibleBox(display()); } 1041 bool isDisplayFlexibleBox() const { return isDisplayFlexibleBox(display()); }
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 static TouchAction initialTouchAction() { return TouchActionAuto; } 1181 static TouchAction initialTouchAction() { return TouchActionAuto; }
1185 static TouchActionDelay initialTouchActionDelay() { return TouchActionDelayS cript; } 1182 static TouchActionDelay initialTouchActionDelay() { return TouchActionDelayS cript; }
1186 static ShadowList* initialBoxShadow() { return 0; } 1183 static ShadowList* initialBoxShadow() { return 0; }
1187 static ShadowList* initialTextShadow() { return 0; } 1184 static ShadowList* initialTextShadow() { return 0; }
1188 1185
1189 static unsigned initialTabSize() { return 8; } 1186 static unsigned initialTabSize() { return 8; }
1190 1187
1191 static WrapFlow initialWrapFlow() { return WrapFlowAuto; } 1188 static WrapFlow initialWrapFlow() { return WrapFlowAuto; }
1192 static WrapThrough initialWrapThrough() { return WrapThroughWrap; } 1189 static WrapThrough initialWrapThrough() { return WrapThroughWrap; }
1193 1190
1194 static QuotesData* initialQuotes() { return 0; }
1195
1196 // Keep these at the end. 1191 // Keep these at the end.
1197 // FIXME: Why? Seems these should all be one big sorted list. 1192 // FIXME: Why? Seems these should all be one big sorted list.
1198 static Color initialTapHighlightColor(); 1193 static Color initialTapHighlightColor();
1199 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO perations, ops, ()); return ops; } 1194 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO perations, ops, ()); return ops; }
1200 1195
1201 Color colorIncludingFallback(int colorProperty) const; 1196 Color colorIncludingFallback(int colorProperty) const;
1202 1197
1203 private: 1198 private:
1204 void inheritUnicodeBidiFrom(const RenderStyle* parent) { noninherited_flags. unicodeBidi = parent->noninherited_flags.unicodeBidi; } 1199 void inheritUnicodeBidiFrom(const RenderStyle* parent) { noninherited_flags. unicodeBidi = parent->noninherited_flags.unicodeBidi; }
1205 void getShadowExtent(const ShadowList*, LayoutUnit& top, LayoutUnit& right, LayoutUnit& bottom, LayoutUnit& left) const; 1200 void getShadowExtent(const ShadowList*, LayoutUnit& top, LayoutUnit& right, LayoutUnit& bottom, LayoutUnit& left) const;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 1258
1264 rareInheritedData.access()->m_textOrientation = textOrientation; 1259 rareInheritedData.access()->m_textOrientation = textOrientation;
1265 return true; 1260 return true;
1266 } 1261 }
1267 1262
1268 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&); 1263 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect ::Radii&);
1269 1264
1270 } // namespace blink 1265 } // namespace blink
1271 1266
1272 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ 1267 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/QuotesData.cpp ('k') | sky/engine/core/rendering/style/RenderStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698