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

Side by Side Diff: sky/engine/core/css/parser/MediaQueryInputStream.h

Issue 1215103007: Remove remaining HTML elements (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 months 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 #ifndef SKY_ENGINE_CORE_CSS_PARSER_MEDIAQUERYINPUTSTREAM_H_ 5 #ifndef SKY_ENGINE_CORE_CSS_PARSER_MEDIAQUERYINPUTSTREAM_H_
6 #define SKY_ENGINE_CORE_CSS_PARSER_MEDIAQUERYINPUTSTREAM_H_ 6 #define SKY_ENGINE_CORE_CSS_PARSER_MEDIAQUERYINPUTSTREAM_H_
7 7
8 #include "sky/engine/wtf/text/WTFString.h" 8 #include "sky/engine/wtf/text/WTFString.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 const UChar kEndOfFileMarker = '\0';
13
12 class MediaQueryInputStream { 14 class MediaQueryInputStream {
13 WTF_MAKE_NONCOPYABLE(MediaQueryInputStream); 15 WTF_MAKE_NONCOPYABLE(MediaQueryInputStream);
14 WTF_MAKE_FAST_ALLOCATED; 16 WTF_MAKE_FAST_ALLOCATED;
15 public: 17 public:
16 MediaQueryInputStream(String input); 18 MediaQueryInputStream(String input);
17 19
18 UChar peek(unsigned); 20 UChar peek(unsigned);
19 inline UChar nextInputChar() 21 inline UChar nextInputChar()
20 { 22 {
21 return peek(0); 23 return peek(0);
(...skipping 25 matching lines...) Expand all
47 } 49 }
48 50
49 private: 51 private:
50 size_t m_offset; 52 size_t m_offset;
51 String m_string; 53 String m_string;
52 }; 54 };
53 55
54 } // namespace blink 56 } // namespace blink
55 57
56 #endif // SKY_ENGINE_CORE_CSS_PARSER_MEDIAQUERYINPUTSTREAM_H_ 58 #endif // SKY_ENGINE_CORE_CSS_PARSER_MEDIAQUERYINPUTSTREAM_H_
57
OLDNEW
« no previous file with comments | « sky/engine/core/css/MediaValues.cpp ('k') | sky/engine/core/css/parser/MediaQueryInputStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698