| 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 #ifndef MediaQueryTokenizer_h | 5 #ifndef MediaQueryTokenizer_h |
| 6 #define MediaQueryTokenizer_h | 6 #define MediaQueryTokenizer_h |
| 7 | 7 |
| 8 #include "core/css/parser/MediaQueryToken.h" | |
| 9 #include "core/html/parser/InputStreamPreprocessor.h" | |
| 10 #include "wtf/text/WTFString.h" | |
| 11 | |
| 12 #include <climits> | 8 #include <climits> |
| 9 #include "sky/engine/core/css/parser/MediaQueryToken.h" |
| 10 #include "sky/engine/core/html/parser/InputStreamPreprocessor.h" |
| 11 #include "sky/engine/wtf/text/WTFString.h" |
| 13 | 12 |
| 14 namespace blink { | 13 namespace blink { |
| 15 | 14 |
| 16 class MediaQueryInputStream; | 15 class MediaQueryInputStream; |
| 17 | 16 |
| 18 class MediaQueryTokenizer { | 17 class MediaQueryTokenizer { |
| 19 WTF_MAKE_NONCOPYABLE(MediaQueryTokenizer); | 18 WTF_MAKE_NONCOPYABLE(MediaQueryTokenizer); |
| 20 WTF_MAKE_FAST_ALLOCATED; | 19 WTF_MAKE_FAST_ALLOCATED; |
| 21 public: | 20 public: |
| 22 static void tokenize(String, Vector<MediaQueryToken>&); | 21 static void tokenize(String, Vector<MediaQueryToken>&); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 MediaQueryToken endOfFile(UChar); | 75 MediaQueryToken endOfFile(UChar); |
| 77 | 76 |
| 78 MediaQueryInputStream& m_input; | 77 MediaQueryInputStream& m_input; |
| 79 }; | 78 }; |
| 80 | 79 |
| 81 | 80 |
| 82 | 81 |
| 83 } // namespace blink | 82 } // namespace blink |
| 84 | 83 |
| 85 #endif // MediaQueryTokenizer_h | 84 #endif // MediaQueryTokenizer_h |
| OLD | NEW |