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

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

Issue 1069403003: Remove CSS list-style (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 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 }; 141 };
142 142
143 enum EOverflowWrap { 143 enum EOverflowWrap {
144 NormalOverflowWrap, BreakOverflowWrap 144 NormalOverflowWrap, BreakOverflowWrap
145 }; 145 };
146 146
147 enum LineBreak { 147 enum LineBreak {
148 LineBreakAuto, LineBreakLoose, LineBreakNormal, LineBreakStrict, LineBreakAf terWhiteSpace 148 LineBreakAuto, LineBreakLoose, LineBreakNormal, LineBreakStrict, LineBreakAf terWhiteSpace
149 }; 149 };
150 150
151 // The order of this enum must match the order of the list style types in CSSVal ueKeywords.in.
152 enum EListStyleType {
153 Disc,
154 Circle,
155 Square,
156 DecimalListStyle,
157 DecimalLeadingZero,
158 ArabicIndic,
159 BinaryListStyle,
160 Bengali,
161 Cambodian,
162 Khmer,
163 Devanagari,
164 Gujarati,
165 Gurmukhi,
166 Kannada,
167 LowerHexadecimal,
168 Lao,
169 Malayalam,
170 Mongolian,
171 Myanmar,
172 Octal,
173 Oriya,
174 Persian,
175 Urdu,
176 Telugu,
177 Tibetan,
178 Thai,
179 UpperHexadecimal,
180 LowerRoman,
181 UpperRoman,
182 LowerGreek,
183 LowerAlpha,
184 LowerLatin,
185 UpperAlpha,
186 UpperLatin,
187 Afar,
188 EthiopicHalehameAaEt,
189 EthiopicHalehameAaEr,
190 Amharic,
191 EthiopicHalehameAmEt,
192 AmharicAbegede,
193 EthiopicAbegedeAmEt,
194 CjkEarthlyBranch,
195 CjkHeavenlyStem,
196 Ethiopic,
197 EthiopicHalehameGez,
198 EthiopicAbegede,
199 EthiopicAbegedeGez,
200 HangulConsonant,
201 Hangul,
202 LowerNorwegian,
203 Oromo,
204 EthiopicHalehameOmEt,
205 Sidama,
206 EthiopicHalehameSidEt,
207 Somali,
208 EthiopicHalehameSoEt,
209 Tigre,
210 EthiopicHalehameTig,
211 TigrinyaEr,
212 EthiopicHalehameTiEr,
213 TigrinyaErAbegede,
214 EthiopicAbegedeTiEr,
215 TigrinyaEt,
216 EthiopicHalehameTiEt,
217 TigrinyaEtAbegede,
218 EthiopicAbegedeTiEt,
219 UpperGreek,
220 UpperNorwegian,
221 Asterisks,
222 Footnotes,
223 Hebrew,
224 Armenian,
225 LowerArmenian,
226 UpperArmenian,
227 Georgian,
228 CJKIdeographic,
229 Hiragana,
230 Katakana,
231 HiraganaIroha,
232 KatakanaIroha,
233 NoneListStyle
234 };
235
236 enum EAnimPlayState { 151 enum EAnimPlayState {
237 AnimPlayStatePlaying, 152 AnimPlayStatePlaying,
238 AnimPlayStatePaused 153 AnimPlayStatePaused
239 }; 154 };
240 155
241 enum EWhiteSpace { 156 enum EWhiteSpace {
242 NORMAL, PRE, PRE_WRAP, PRE_LINE, NOWRAP, KHTML_NOWRAP 157 NORMAL, PRE, PRE_WRAP, PRE_LINE, NOWRAP, KHTML_NOWRAP
243 }; 158 };
244 159
245 // The order of this enum must match the order of the text align values in CSSVa lueKeywords.in. 160 // The order of this enum must match the order of the text align values in CSSVa lueKeywords.in.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 }; 200 };
286 201
287 enum EEmptyCell { 202 enum EEmptyCell {
288 SHOW, HIDE 203 SHOW, HIDE
289 }; 204 };
290 205
291 enum ECaptionSide { 206 enum ECaptionSide {
292 CAPTOP, CAPBOTTOM, CAPLEFT, CAPRIGHT 207 CAPTOP, CAPBOTTOM, CAPLEFT, CAPRIGHT
293 }; 208 };
294 209
295 enum EListStylePosition { OUTSIDE, INSIDE };
296
297 enum EVisibility { VISIBLE, HIDDEN, COLLAPSE }; 210 enum EVisibility { VISIBLE, HIDDEN, COLLAPSE };
298 211
299 // The order of this enum must match the order of the display values in CSSValue Keywords.in. 212 // The order of this enum must match the order of the display values in CSSValue Keywords.in.
300 enum EDisplay { 213 enum EDisplay {
301 INLINE, PARAGRAPH, 214 INLINE, PARAGRAPH,
302 FLEX, INLINE_FLEX, 215 FLEX, INLINE_FLEX,
303 NONE, 216 NONE,
304 }; 217 };
305 218
306 enum EPointerEvents { 219 enum EPointerEvents {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 static const float maximumAllowedFontSize = 1000000.0f; 302 static const float maximumAllowedFontSize = 1000000.0f;
390 303
391 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; 304 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine };
392 enum TextIndentType { TextIndentNormal, TextIndentHanging }; 305 enum TextIndentType { TextIndentNormal, TextIndentHanging };
393 306
394 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; 307 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ;
395 308
396 } // namespace blink 309 } // namespace blink
397 310
398 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ 311 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_
OLDNEW
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyle.cpp ('k') | sky/engine/core/rendering/style/StyleRareInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698