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/parser/MediaQueryTokenizer.h" | 6 #include "core/css/parser/MediaQueryTokenizer.h" |
7 | 7 |
8 namespace WebCore { | 8 namespace WebCore { |
9 #include "MediaQueryTokenizerCodepoints.cpp" | 9 #include "core/MediaQueryTokenizerCodepoints.cpp" |
10 } | 10 } |
11 | 11 |
12 #include "core/css/parser/MediaQueryInputStream.h" | 12 #include "core/css/parser/MediaQueryInputStream.h" |
13 #include "core/html/parser/HTMLParserIdioms.h" | 13 #include "core/html/parser/HTMLParserIdioms.h" |
14 #include "wtf/unicode/CharacterNames.h" | 14 #include "wtf/unicode/CharacterNames.h" |
15 | 15 |
16 namespace WebCore { | 16 namespace WebCore { |
17 | 17 |
18 // http://dev.w3.org/csswg/css-syntax/#name-start-code-point | 18 // http://dev.w3.org/csswg/css-syntax/#name-start-code-point |
19 static bool isNameStart(UChar c) | 19 static bool isNameStart(UChar c) |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 | 518 |
519 bool MediaQueryTokenizer::nextCharsAreIdentifier() | 519 bool MediaQueryTokenizer::nextCharsAreIdentifier() |
520 { | 520 { |
521 UChar first = consume(); | 521 UChar first = consume(); |
522 bool areIdentifier = nextCharsAreIdentifier(first); | 522 bool areIdentifier = nextCharsAreIdentifier(first); |
523 reconsume(first); | 523 reconsume(first); |
524 return areIdentifier; | 524 return areIdentifier; |
525 } | 525 } |
526 | 526 |
527 } // namespace WebCore | 527 } // namespace WebCore |
OLD | NEW |