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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2597083002: Moved list-style-type to be generated in ComputedStyleBase (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 enum LineBreak { 255 enum LineBreak {
256 LineBreakAuto, 256 LineBreakAuto,
257 LineBreakLoose, 257 LineBreakLoose,
258 LineBreakNormal, 258 LineBreakNormal,
259 LineBreakStrict, 259 LineBreakStrict,
260 LineBreakAfterWhiteSpace 260 LineBreakAfterWhiteSpace
261 }; 261 };
262 262
263 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; 263 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL };
264 264
265 enum class EListStyleType : unsigned {
266 Disc,
267 Circle,
268 Square,
269 DecimalListStyle,
270 DecimalLeadingZero,
271 ArabicIndic,
272 Bengali,
273 Cambodian,
274 Khmer,
275 Devanagari,
276 Gujarati,
277 Gurmukhi,
278 Kannada,
279 Lao,
280 Malayalam,
281 Mongolian,
282 Myanmar,
283 Oriya,
284 Persian,
285 Urdu,
286 Telugu,
287 Tibetan,
288 Thai,
289 LowerRoman,
290 UpperRoman,
291 LowerGreek,
292 LowerAlpha,
293 LowerLatin,
294 UpperAlpha,
295 UpperLatin,
296 CjkEarthlyBranch,
297 CjkHeavenlyStem,
298 EthiopicHalehame,
299 EthiopicHalehameAm,
300 EthiopicHalehameTiEr,
301 EthiopicHalehameTiEt,
302 Hangul,
303 HangulConsonant,
304 KoreanHangulFormal,
305 KoreanHanjaFormal,
306 KoreanHanjaInformal,
307 Hebrew,
308 Armenian,
309 LowerArmenian,
310 UpperArmenian,
311 Georgian,
312 CJKIdeographic,
313 SimpChineseFormal,
314 SimpChineseInformal,
315 TradChineseFormal,
316 TradChineseInformal,
317 Hiragana,
318 Katakana,
319 HiraganaIroha,
320 KatakanaIroha,
321 NoneListStyle
322 };
323
324 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; 265 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE };
325 266
326 enum EAnimPlayState { AnimPlayStatePlaying, AnimPlayStatePaused }; 267 enum EAnimPlayState { AnimPlayStatePlaying, AnimPlayStatePaused };
327 268
328 static const size_t TextDecorationBits = 4; 269 static const size_t TextDecorationBits = 4;
329 enum TextDecoration { 270 enum TextDecoration {
330 TextDecorationNone = 0x0, 271 TextDecorationNone = 0x0,
331 TextDecorationUnderline = 0x1, 272 TextDecorationUnderline = 0x1,
332 TextDecorationOverline = 0x2, 273 TextDecorationOverline = 0x2,
333 TextDecorationLineThrough = 0x4, 274 TextDecorationLineThrough = 0x4,
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 ScrollSnapTypeNone, 608 ScrollSnapTypeNone,
668 ScrollSnapTypeMandatory, 609 ScrollSnapTypeMandatory,
669 ScrollSnapTypeProximity 610 ScrollSnapTypeProximity
670 }; 611 };
671 612
672 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 613 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
673 614
674 } // namespace blink 615 } // namespace blink
675 616
676 #endif // ComputedStyleConstants_h 617 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698