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 "config.h" | 5 #include "config.h" |
6 #include "core/css/MediaValuesDynamic.h" | 6 #include "core/css/MediaValuesDynamic.h" |
7 | 7 |
8 #include "core/css/CSSHelper.h" | 8 #include "core/css/CSSHelper.h" |
9 #include "core/css/CSSPrimitiveValue.h" | 9 #include "core/css/CSSPrimitiveValue.h" |
10 #include "core/css/CSSToLengthConversionData.h" | 10 #include "core/css/CSSToLengthConversionData.h" |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 bool MediaValuesDynamic::threeDEnabled() const | 120 bool MediaValuesDynamic::threeDEnabled() const |
121 { | 121 { |
122 return calculateThreeDEnabled(m_frame); | 122 return calculateThreeDEnabled(m_frame); |
123 } | 123 } |
124 | 124 |
125 const String MediaValuesDynamic::mediaType() const | 125 const String MediaValuesDynamic::mediaType() const |
126 { | 126 { |
127 return calculateMediaType(m_frame); | 127 return calculateMediaType(m_frame); |
128 } | 128 } |
129 | 129 |
| 130 DisplayMode MediaValuesDynamic::displayMode() const |
| 131 { |
| 132 return calculateDisplayMode(m_frame); |
| 133 } |
| 134 |
130 bool MediaValuesDynamic::strictMode() const | 135 bool MediaValuesDynamic::strictMode() const |
131 { | 136 { |
132 return calculateStrictMode(m_frame); | 137 return calculateStrictMode(m_frame); |
133 } | 138 } |
134 | 139 |
135 Document* MediaValuesDynamic::document() const | 140 Document* MediaValuesDynamic::document() const |
136 { | 141 { |
137 return m_frame->document(); | 142 return m_frame->document(); |
138 } | 143 } |
139 | 144 |
140 bool MediaValuesDynamic::hasValues() const | 145 bool MediaValuesDynamic::hasValues() const |
141 { | 146 { |
142 return m_frame; | 147 return m_frame; |
143 } | 148 } |
144 | 149 |
145 } // namespace | 150 } // namespace |
OLD | NEW |