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

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

Issue 2001823004: style: Rename the EBoxPack enum values to be prefixed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 1710 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 static TextUnderlinePosition initialTextUnderlinePosition() { return TextUnd erlinePositionAuto; } 1721 static TextUnderlinePosition initialTextUnderlinePosition() { return TextUnd erlinePositionAuto; }
1722 static TextDecorationStyle initialTextDecorationStyle() { return TextDecorat ionStyleSolid; } 1722 static TextDecorationStyle initialTextDecorationStyle() { return TextDecorat ionStyleSolid; }
1723 static float initialZoom() { return 1.0f; } 1723 static float initialZoom() { return 1.0f; }
1724 static int initialOutlineOffset() { return 0; } 1724 static int initialOutlineOffset() { return 0; }
1725 static float initialOpacity() { return 1.0f; } 1725 static float initialOpacity() { return 1.0f; }
1726 static EBoxAlignment initialBoxAlign() { return BSTRETCH; } 1726 static EBoxAlignment initialBoxAlign() { return BSTRETCH; }
1727 static EBoxDecorationBreak initialBoxDecorationBreak() { return BoxDecoratio nBreakSlice; } 1727 static EBoxDecorationBreak initialBoxDecorationBreak() { return BoxDecoratio nBreakSlice; }
1728 static EBoxDirection initialBoxDirection() { return BNORMAL; } 1728 static EBoxDirection initialBoxDirection() { return BNORMAL; }
1729 static EBoxLines initialBoxLines() { return SINGLE; } 1729 static EBoxLines initialBoxLines() { return SINGLE; }
1730 static EBoxOrient initialBoxOrient() { return HORIZONTAL; } 1730 static EBoxOrient initialBoxOrient() { return HORIZONTAL; }
1731 static EBoxPack initialBoxPack() { return Start; } 1731 static EBoxPack initialBoxPack() { return BoxPackStart; }
1732 static float initialBoxFlex() { return 0.0f; } 1732 static float initialBoxFlex() { return 0.0f; }
1733 static unsigned initialBoxFlexGroup() { return 1; } 1733 static unsigned initialBoxFlexGroup() { return 1; }
1734 static unsigned initialBoxOrdinalGroup() { return 1; } 1734 static unsigned initialBoxOrdinalGroup() { return 1; }
1735 static EBoxSizing initialBoxSizing() { return BoxSizingContentBox; } 1735 static EBoxSizing initialBoxSizing() { return BoxSizingContentBox; }
1736 static StyleReflection* initialBoxReflect() { return 0; } 1736 static StyleReflection* initialBoxReflect() { return 0; }
1737 static float initialFlexGrow() { return 0; } 1737 static float initialFlexGrow() { return 0; }
1738 static float initialFlexShrink() { return 1; } 1738 static float initialFlexShrink() { return 1; }
1739 static Length initialFlexBasis() { return Length(Auto); } 1739 static Length initialFlexBasis() { return Length(Auto); }
1740 static int initialOrder() { return 0; } 1740 static int initialOrder() { return 0; }
1741 static StyleContentAlignmentData initialContentAlignment() { return StyleCon tentAlignmentData(ContentPositionNormal, ContentDistributionDefault, OverflowAli gnmentDefault); } 1741 static StyleContentAlignmentData initialContentAlignment() { return StyleCon tentAlignmentData(ContentPositionNormal, ContentDistributionDefault, OverflowAli gnmentDefault); }
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
2042 } 2042 }
2043 2043
2044 inline bool ComputedStyle::hasPseudoElementStyle() const 2044 inline bool ComputedStyle::hasPseudoElementStyle() const
2045 { 2045 {
2046 return noninherited_flags.pseudoBits & ElementPseudoIdMask; 2046 return noninherited_flags.pseudoBits & ElementPseudoIdMask;
2047 } 2047 }
2048 2048
2049 } // namespace blink 2049 } // namespace blink
2050 2050
2051 #endif // ComputedStyle_h 2051 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698