| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SizesCalcParser_h | 5 #ifndef SKY_ENGINE_CORE_CSS_PARSER_SIZESCALCPARSER_H_ |
| 6 #define SizesCalcParser_h | 6 #define SKY_ENGINE_CORE_CSS_PARSER_SIZESCALCPARSER_H_ |
| 7 | 7 |
| 8 #include "sky/engine/core/css/MediaValues.h" | 8 #include "sky/engine/core/css/MediaValues.h" |
| 9 #include "sky/engine/core/css/parser/MediaQueryToken.h" | 9 #include "sky/engine/core/css/parser/MediaQueryToken.h" |
| 10 #include "sky/engine/wtf/text/WTFString.h" | 10 #include "sky/engine/wtf/text/WTFString.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 struct SizesCalcValue { | 14 struct SizesCalcValue { |
| 15 double value; | 15 double value; |
| 16 bool isLength; | 16 bool isLength; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 | 50 |
| 51 Vector<SizesCalcValue> m_valueList; | 51 Vector<SizesCalcValue> m_valueList; |
| 52 RefPtr<MediaValues> m_mediaValues; | 52 RefPtr<MediaValues> m_mediaValues; |
| 53 bool m_viewportDependant; | 53 bool m_viewportDependant; |
| 54 bool m_isValid; | 54 bool m_isValid; |
| 55 unsigned m_result; | 55 unsigned m_result; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace blink | 58 } // namespace blink |
| 59 | 59 |
| 60 #endif // SizesCalcParser_h | 60 #endif // SKY_ENGINE_CORE_CSS_PARSER_SIZESCALCPARSER_H_ |
| 61 | 61 |
| OLD | NEW |