| 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 SizesCalcParser_h |
| 6 #define SizesCalcParser_h | 6 #define SizesCalcParser_h |
| 7 | 7 |
| 8 #include "core/css/MediaValues.h" | 8 #include "sky/engine/core/css/MediaValues.h" |
| 9 #include "core/css/parser/MediaQueryToken.h" | 9 #include "sky/engine/core/css/parser/MediaQueryToken.h" |
| 10 #include "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; |
| 17 UChar operation; | 17 UChar operation; |
| 18 | 18 |
| 19 SizesCalcValue() | 19 SizesCalcValue() |
| 20 : value(0) | 20 : value(0) |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // SizesCalcParser_h |
| 61 | 61 |
| OLD | NEW |