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

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

Issue 2380233002: Changed EListStylePosition to an enum class and renamed its members to keywords (Closed)
Patch Set: Rebase Created 4 years, 2 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('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 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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 BreakRight, 397 BreakRight,
398 BreakVerso, 398 BreakVerso,
399 BreakValueLastAllowedForBreakAfterAndBefore = BreakVerso, 399 BreakValueLastAllowedForBreakAfterAndBefore = BreakVerso,
400 BreakAlways // Only needed by {page,-webkit-column}-break-{after,before} shor thands. 400 BreakAlways // Only needed by {page,-webkit-column}-break-{after,before} shor thands.
401 }; 401 };
402 402
403 enum class EEmptyCells : unsigned { Show, Hide }; 403 enum class EEmptyCells : unsigned { Show, Hide };
404 404
405 enum class ECaptionSide : unsigned { Top, Bottom, Left, Right }; 405 enum class ECaptionSide : unsigned { Top, Bottom, Left, Right };
406 406
407 enum EListStylePosition { ListStylePositionOutside, ListStylePositionInside }; 407 enum class EListStylePosition : unsigned { Outside, Inside };
408 408
409 enum ECursor { 409 enum ECursor {
410 // The following must match the order in CSSValueKeywords.in. 410 // The following must match the order in CSSValueKeywords.in.
411 CURSOR_AUTO, 411 CURSOR_AUTO,
412 CURSOR_CROSS, 412 CURSOR_CROSS,
413 CURSOR_DEFAULT, 413 CURSOR_DEFAULT,
414 CURSOR_POINTER, 414 CURSOR_POINTER,
415 CURSOR_MOVE, 415 CURSOR_MOVE,
416 CURSOR_VERTICAL_TEXT, 416 CURSOR_VERTICAL_TEXT,
417 CURSOR_CELL, 417 CURSOR_CELL,
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 ScrollSnapTypeNone, 688 ScrollSnapTypeNone,
689 ScrollSnapTypeMandatory, 689 ScrollSnapTypeMandatory,
690 ScrollSnapTypeProximity 690 ScrollSnapTypeProximity
691 }; 691 };
692 692
693 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 693 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
694 694
695 } // namespace blink 695 } // namespace blink
696 696
697 #endif // ComputedStyleConstants_h 697 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698