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

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

Issue 2546333002: Changed Order to an enum class and renamed its members (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
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 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 enum TextOverflow { TextOverflowClip = 0, TextOverflowEllipsis }; 559 enum TextOverflow { TextOverflowClip = 0, TextOverflowEllipsis };
560 560
561 enum EImageRendering { 561 enum EImageRendering {
562 ImageRenderingAuto, 562 ImageRenderingAuto,
563 ImageRenderingOptimizeSpeed, 563 ImageRenderingOptimizeSpeed,
564 ImageRenderingOptimizeQuality, 564 ImageRenderingOptimizeQuality,
565 ImageRenderingOptimizeContrast, 565 ImageRenderingOptimizeContrast,
566 ImageRenderingPixelated 566 ImageRenderingPixelated
567 }; 567 };
568 568
569 enum Order { LogicalOrder = 0, VisualOrder }; 569 enum class EOrder : unsigned { Logical, Visual };
570 570
571 enum RubyPosition { RubyPositionBefore, RubyPositionAfter }; 571 enum RubyPosition { RubyPositionBefore, RubyPositionAfter };
572 572
573 static const size_t GridAutoFlowBits = 4; 573 static const size_t GridAutoFlowBits = 4;
574 enum InternalGridAutoFlowAlgorithm { 574 enum InternalGridAutoFlowAlgorithm {
575 InternalAutoFlowAlgorithmSparse = 0x1, 575 InternalAutoFlowAlgorithmSparse = 0x1,
576 InternalAutoFlowAlgorithmDense = 0x2 576 InternalAutoFlowAlgorithmDense = 0x2
577 }; 577 };
578 578
579 enum InternalGridAutoFlowDirection { 579 enum InternalGridAutoFlowDirection {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 ScrollSnapTypeNone, 711 ScrollSnapTypeNone,
712 ScrollSnapTypeMandatory, 712 ScrollSnapTypeMandatory,
713 ScrollSnapTypeProximity 713 ScrollSnapTypeProximity
714 }; 714 };
715 715
716 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 716 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
717 717
718 } // namespace blink 718 } // namespace blink
719 719
720 #endif // ComputedStyleConstants_h 720 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698