| 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 MediaValuesCached_h |
| 6 #define MediaValuesCached_h | 6 #define MediaValuesCached_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/css/MediaValues.h" | 9 #include "core/css/MediaValues.h" |
| 10 | 10 |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 virtual int availablePointerTypes() const override; | 71 virtual int availablePointerTypes() const override; |
| 72 virtual HoverType primaryHoverType() const override; | 72 virtual HoverType primaryHoverType() const override; |
| 73 virtual int availableHoverTypes() const override; | 73 virtual int availableHoverTypes() const override; |
| 74 virtual bool threeDEnabled() const override; | 74 virtual bool threeDEnabled() const override; |
| 75 virtual bool strictMode() const override; | 75 virtual bool strictMode() const override; |
| 76 virtual Document* document() const override; | 76 virtual Document* document() const override; |
| 77 virtual bool hasValues() const override; | 77 virtual bool hasValues() const override; |
| 78 virtual const String mediaType() const override; | 78 virtual const String mediaType() const override; |
| 79 virtual WebDisplayMode displayMode() const override; | 79 virtual WebDisplayMode displayMode() const override; |
| 80 | 80 |
| 81 void setViewportWidth(int); |
| 82 void setViewportHeight(int); |
| 83 |
| 84 virtual bool isCached() const override { return true; } |
| 81 protected: | 85 protected: |
| 82 MediaValuesCached(); | 86 MediaValuesCached(); |
| 83 MediaValuesCached(LocalFrame*); | 87 MediaValuesCached(LocalFrame*); |
| 84 MediaValuesCached(const MediaValuesCachedData&); | 88 MediaValuesCached(const MediaValuesCachedData&); |
| 85 | 89 |
| 86 MediaValuesCachedData m_data; | 90 MediaValuesCachedData m_data; |
| 87 }; | 91 }; |
| 88 | 92 |
| 89 } // namespace | 93 } // namespace |
| 90 | 94 |
| 91 #endif // MediaValuesCached_h | 95 #endif // MediaValuesCached_h |
| OLD | NEW |