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

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

Issue 2514273002: Changed PrintColorAdjust 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
« 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 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 NoChange, 47 NoChange,
48 NoInherit, 48 NoInherit,
49 UpdatePseudoElements, 49 UpdatePseudoElements,
50 IndependentInherit, 50 IndependentInherit,
51 Inherit, 51 Inherit,
52 Force, 52 Force,
53 Reattach, 53 Reattach,
54 ReattachNoLayoutObject 54 ReattachNoLayoutObject
55 }; 55 };
56 56
57 static const size_t PrintColorAdjustBits = 1; 57 enum class PrintColorAdjust : unsigned { Economy, Exact };
58 enum PrintColorAdjust { PrintColorAdjustEconomy, PrintColorAdjustExact };
59 58
60 // Static pseudo styles. Dynamic ones are produced on the fly. 59 // Static pseudo styles. Dynamic ones are produced on the fly.
61 enum PseudoId { 60 enum PseudoId {
62 // The order must be NOP ID, public IDs, and then internal IDs. 61 // The order must be NOP ID, public IDs, and then internal IDs.
63 // If you add or remove a public ID, you must update _pseudoBits in 62 // If you add or remove a public ID, you must update _pseudoBits in
64 // ComputedStyle. 63 // ComputedStyle.
65 PseudoIdNone, 64 PseudoIdNone,
66 PseudoIdFirstLine, 65 PseudoIdFirstLine,
67 PseudoIdFirstLetter, 66 PseudoIdFirstLetter,
68 PseudoIdBefore, 67 PseudoIdBefore,
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 ScrollSnapTypeNone, 715 ScrollSnapTypeNone,
717 ScrollSnapTypeMandatory, 716 ScrollSnapTypeMandatory,
718 ScrollSnapTypeProximity 717 ScrollSnapTypeProximity
719 }; 718 };
720 719
721 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 720 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
722 721
723 } // namespace blink 722 } // namespace blink
724 723
725 #endif // ComputedStyleConstants_h 724 #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