| 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/parser/MediaQueryParser.h" | 5 #include "core/css/parser/MediaQueryParser.h" |
| 6 | 6 |
| 7 #include "core/MediaTypeNames.h" | 7 #include "core/MediaTypeNames.h" |
| 8 #include "core/css/parser/CSSPropertyParser.h" | |
| 9 #include "core/css/parser/CSSTokenizer.h" | 8 #include "core/css/parser/CSSTokenizer.h" |
| 10 #include "wtf/Vector.h" | 9 #include "wtf/Vector.h" |
| 11 | 10 |
| 12 namespace blink { | 11 namespace blink { |
| 13 | 12 |
| 14 MediaQuerySet* MediaQueryParser::parseMediaQuerySet(const String& queryString) | 13 MediaQuerySet* MediaQueryParser::parseMediaQuerySet(const String& queryString) |
| 15 { | 14 { |
| 16 return parseMediaQuerySet(CSSTokenizer::Scope(queryString).tokenRange()); | 15 return parseMediaQuerySet(CSSTokenizer::Scope(queryString).tokenRange()); |
| 17 } | 16 } |
| 18 | 17 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 return false; | 274 return false; |
| 276 } | 275 } |
| 277 | 276 |
| 278 void MediaQueryData::setMediaType(const String& mediaType) | 277 void MediaQueryData::setMediaType(const String& mediaType) |
| 279 { | 278 { |
| 280 m_mediaType = mediaType; | 279 m_mediaType = mediaType; |
| 281 m_mediaTypeSet = true; | 280 m_mediaTypeSet = true; |
| 282 } | 281 } |
| 283 | 282 |
| 284 } // namespace blink | 283 } // namespace blink |
| OLD | NEW |