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

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

Issue 2366263002: Changed ECaptionSide to an enum class and renamed its members to keywords (Closed)
Patch Set: 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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 BreakRight, 391 BreakRight,
392 BreakVerso, 392 BreakVerso,
393 BreakValueLastAllowedForBreakAfterAndBefore = BreakVerso, 393 BreakValueLastAllowedForBreakAfterAndBefore = BreakVerso,
394 BreakAlways // Only needed by {page,-webkit-column}-break-{after,before} sho rthands. 394 BreakAlways // Only needed by {page,-webkit-column}-break-{after,before} sho rthands.
395 }; 395 };
396 396
397 enum EEmptyCells { 397 enum EEmptyCells {
398 EmptyCellsShow, EmptyCellsHide 398 EmptyCellsShow, EmptyCellsHide
399 }; 399 };
400 400
401 enum ECaptionSide { 401 enum class ECaptionSide : unsigned {
402 CaptionSideTop, CaptionSideBottom, CaptionSideLeft, CaptionSideRight 402 Top, Bottom, Left, Right
403 }; 403 };
404 404
405 enum EListStylePosition { ListStylePositionOutside, ListStylePositionInside }; 405 enum EListStylePosition { ListStylePositionOutside, ListStylePositionInside };
406 406
407 enum ECursor { 407 enum ECursor {
408 // The following must match the order in CSSValueKeywords.in. 408 // The following must match the order in CSSValueKeywords.in.
409 CURSOR_AUTO, 409 CURSOR_AUTO,
410 CURSOR_CROSS, 410 CURSOR_CROSS,
411 CURSOR_DEFAULT, 411 CURSOR_DEFAULT,
412 CURSOR_POINTER, 412 CURSOR_POINTER,
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 622
623 enum AutoRepeatType { 623 enum AutoRepeatType {
624 NoAutoRepeat, 624 NoAutoRepeat,
625 AutoFill, 625 AutoFill,
626 AutoFit 626 AutoFit
627 }; 627 };
628 628
629 } // namespace blink 629 } // namespace blink
630 630
631 #endif // ComputedStyleConstants_h 631 #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