Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: sky/engine/core/css/parser/MediaQueryTokenizer.cpp

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "sky/engine/config.h"
6 #include "core/css/parser/MediaQueryTokenizer.h" 6 #include "sky/engine/core/css/parser/MediaQueryTokenizer.h"
7 7
8 namespace blink { 8 namespace blink {
9 #include "core/MediaQueryTokenizerCodepoints.cpp" 9 #include "core/MediaQueryTokenizerCodepoints.cpp"
10 } 10 }
11 11
12 #include "core/css/parser/MediaQueryInputStream.h" 12 #include "sky/engine/core/css/parser/MediaQueryInputStream.h"
13 #include "core/html/parser/HTMLParserIdioms.h" 13 #include "sky/engine/core/html/parser/HTMLParserIdioms.h"
14 #include "wtf/unicode/CharacterNames.h" 14 #include "sky/engine/wtf/unicode/CharacterNames.h"
15 15
16 namespace blink { 16 namespace blink {
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)
20 { 20 {
21 if (isASCIIAlpha(c)) 21 if (isASCIIAlpha(c))
22 return true; 22 return true;
23 if (c == '_') 23 if (c == '_')
24 return true; 24 return true;
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 blink 527 } // namespace blink
OLDNEW
« no previous file with comments | « sky/engine/core/css/parser/MediaQueryTokenizer.h ('k') | sky/engine/core/css/parser/MediaQueryTokenizerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698