OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 MediaValuesInitialViewport_h | 5 #ifndef MediaValuesInitialViewport_h |
6 #define MediaValuesInitialViewport_h | 6 #define MediaValuesInitialViewport_h |
7 | 7 |
8 #include "core/css/MediaValuesDynamic.h" | 8 #include "core/css/MediaValuesDynamic.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
11 | 11 |
12 class CORE_EXPORT MediaValuesInitialViewport final : public MediaValuesDynamic { | 12 class CORE_EXPORT MediaValuesInitialViewport final : public MediaValuesDynamic { |
13 public: | 13 public: |
14 static MediaValues* create(LocalFrame&); | 14 static MediaValuesInitialViewport* create(LocalFrame&); |
15 | 15 |
16 double viewportWidth() const override; | 16 double viewportWidth() const override; |
17 double viewportHeight() const override; | 17 double viewportHeight() const override; |
18 | 18 |
19 private: | 19 private: |
20 MediaValuesInitialViewport(LocalFrame&); | 20 MediaValuesInitialViewport(LocalFrame&); |
21 }; | 21 }; |
22 | 22 |
23 } // namespace blink | 23 } // namespace blink |
24 | 24 |
25 #endif // MediaValuesInitialViewport_h | 25 #endif // MediaValuesInitialViewport_h |
OLD | NEW |