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 #include "core/css/MediaQueryEvaluator.h" | 5 #include "core/css/MediaQueryEvaluator.h" |
6 | 6 |
7 #include "core/MediaTypeNames.h" | 7 #include "core/MediaTypeNames.h" |
8 #include "core/css/MediaList.h" | 8 #include "core/css/MediaList.h" |
9 #include "core/css/MediaValuesCached.h" | 9 #include "core/css/MediaValuesCached.h" |
10 #include "core/frame/FrameView.h" | 10 #include "core/frame/FrameView.h" |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 { | 186 { |
187 MediaValuesCached::MediaValuesCachedData data; | 187 MediaValuesCached::MediaValuesCachedData data; |
188 data.viewportWidth = 600.5; | 188 data.viewportWidth = 600.5; |
189 data.viewportHeight = 700.125; | 189 data.viewportHeight = 700.125; |
190 RefPtrWillBeRawPtr<MediaValues> mediaValues = MediaValuesCached::create(data
); | 190 RefPtrWillBeRawPtr<MediaValues> mediaValues = MediaValuesCached::create(data
); |
191 | 191 |
192 MediaQueryEvaluator mediaQueryEvaluator(*mediaValues); | 192 MediaQueryEvaluator mediaQueryEvaluator(*mediaValues); |
193 testMQEvaluator(floatViewportTestCases, mediaQueryEvaluator); | 193 testMQEvaluator(floatViewportTestCases, mediaQueryEvaluator); |
194 } | 194 } |
195 | 195 |
196 } // namespace | 196 } // namespace blink |
OLD | NEW |