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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSCalculationValue.h

Issue 2392343005: Reflow comments in core/css (Closed)
Patch Set: Revert clang-format 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 class CalculationValue; 43 class CalculationValue;
44 44
45 enum CalcOperator { 45 enum CalcOperator {
46 CalcAdd = '+', 46 CalcAdd = '+',
47 CalcSubtract = '-', 47 CalcSubtract = '-',
48 CalcMultiply = '*', 48 CalcMultiply = '*',
49 CalcDivide = '/' 49 CalcDivide = '/'
50 }; 50 };
51 51
52 // The order of this enum should not change since its elements are used as indic es 52 // The order of this enum should not change since its elements are used as
53 // in the addSubtractResult matrix. 53 // indices in the addSubtractResult matrix.
54 enum CalculationCategory { 54 enum CalculationCategory {
55 CalcNumber = 0, 55 CalcNumber = 0,
56 CalcLength, 56 CalcLength,
57 CalcPercent, 57 CalcPercent,
58 CalcPercentNumber, 58 CalcPercentNumber,
59 CalcPercentLength, 59 CalcPercentLength,
60 CalcAngle, 60 CalcAngle,
61 CalcTime, 61 CalcTime,
62 CalcFrequency, 62 CalcFrequency,
63 CalcLengthNumber, 63 CalcLengthNumber,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 double clampToPermittedRange(double) const; 147 double clampToPermittedRange(double) const;
148 148
149 const Member<CSSCalcExpressionNode> m_expression; 149 const Member<CSSCalcExpressionNode> m_expression;
150 const bool m_nonNegative; 150 const bool m_nonNegative;
151 }; 151 };
152 152
153 } // namespace blink 153 } // namespace blink
154 154
155 #endif // CSSCalculationValue_h 155 #endif // CSSCalculationValue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698