| 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 MediaValuesCached_h | 5 #ifndef SKY_ENGINE_CORE_CSS_MEDIAVALUESCACHED_H_ |
| 6 #define MediaValuesCached_h | 6 #define SKY_ENGINE_CORE_CSS_MEDIAVALUESCACHED_H_ |
| 7 | 7 |
| 8 #include "sky/engine/core/css/MediaValues.h" | 8 #include "sky/engine/core/css/MediaValues.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 class MediaValuesCached final : public MediaValues { | 12 class MediaValuesCached final : public MediaValues { |
| 13 public: | 13 public: |
| 14 struct MediaValuesCachedData { | 14 struct MediaValuesCachedData { |
| 15 // Members variables must be thread safe, since they're copied to the pa
rser thread | 15 // Members variables must be thread safe, since they're copied to the pa
rser thread |
| 16 int viewportWidth; | 16 int viewportWidth; |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 protected: | 77 protected: |
| 78 MediaValuesCached(); | 78 MediaValuesCached(); |
| 79 MediaValuesCached(LocalFrame*); | 79 MediaValuesCached(LocalFrame*); |
| 80 MediaValuesCached(const MediaValuesCachedData&); | 80 MediaValuesCached(const MediaValuesCachedData&); |
| 81 | 81 |
| 82 MediaValuesCachedData m_data; | 82 MediaValuesCachedData m_data; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace | 85 } // namespace |
| 86 | 86 |
| 87 #endif // MediaValuesCached_h | 87 #endif // SKY_ENGINE_CORE_CSS_MEDIAVALUESCACHED_H_ |
| OLD | NEW |