OLD | NEW |
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 17 matching lines...) Expand all Loading... |
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
29 */ | 29 */ |
30 | 30 |
31 #ifndef CSSCalculationValue_h | 31 #ifndef CSSCalculationValue_h |
32 #define CSSCalculationValue_h | 32 #define CSSCalculationValue_h |
33 | 33 |
34 #include "core/CoreExport.h" | 34 #include "core/CoreExport.h" |
35 #include "core/css/CSSPrimitiveValue.h" | 35 #include "core/css/CSSPrimitiveValue.h" |
36 #include "core/css/CSSValue.h" | 36 #include "core/css/CSSValue.h" |
37 #include "core/css/parser/CSSParserTokenRange.h" | 37 #include "core/css/parser/CSSParserTokenRange.h" |
38 #include "core/css/parser/CSSParserValues.h" | |
39 #include "platform/CalculationValue.h" | 38 #include "platform/CalculationValue.h" |
40 #include "wtf/PassOwnPtr.h" | 39 #include "wtf/PassOwnPtr.h" |
41 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
42 #include "wtf/RefPtr.h" | 41 #include "wtf/RefPtr.h" |
43 | 42 |
44 namespace blink { | 43 namespace blink { |
45 | 44 |
46 class CalculationValue; | 45 class CalculationValue; |
47 | 46 |
48 enum CalcOperator { | 47 enum CalcOperator { |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 141 |
143 double clampToPermittedRange(double) const; | 142 double clampToPermittedRange(double) const; |
144 | 143 |
145 const RefPtrWillBeMember<CSSCalcExpressionNode> m_expression; | 144 const RefPtrWillBeMember<CSSCalcExpressionNode> m_expression; |
146 const bool m_nonNegative; | 145 const bool m_nonNegative; |
147 }; | 146 }; |
148 | 147 |
149 } // namespace blink | 148 } // namespace blink |
150 | 149 |
151 #endif // CSSCalculationValue_h | 150 #endif // CSSCalculationValue_h |
OLD | NEW |