| 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 MediaQueryParser_h | 5 #ifndef MediaQueryParser_h |
| 6 #define MediaQueryParser_h | 6 #define MediaQueryParser_h |
| 7 | 7 |
| 8 #include "core/css/CSSParserValues.h" | 8 #include "core/css/CSSParserValues.h" |
| 9 #include "core/css/MediaList.h" | 9 #include "core/css/MediaList.h" |
| 10 #include "core/css/MediaQuery.h" | 10 #include "core/css/MediaQuery.h" |
| 11 #include "core/css/MediaQueryExp.h" | 11 #include "core/css/MediaQueryExp.h" |
| 12 #include "core/css/parser/MediaQueryBlockWatcher.h" | 12 #include "core/css/parser/MediaQueryBlockWatcher.h" |
| 13 #include "core/css/parser/MediaQueryToken.h" | 13 #include "core/css/parser/MediaQueryToken.h" |
| 14 #include "wtf/Vector.h" | |
| 15 #include "wtf/text/WTFString.h" | 14 #include "wtf/text/WTFString.h" |
| 16 | 15 |
| 17 namespace blink { | 16 namespace blink { |
| 18 | 17 |
| 19 class MediaQuerySet; | 18 class MediaQuerySet; |
| 20 | 19 |
| 21 class MediaQueryData { | 20 class MediaQueryData { |
| 22 STACK_ALLOCATED(); | 21 STACK_ALLOCATED(); |
| 23 private: | 22 private: |
| 24 MediaQuery::Restrictor m_restrictor; | 23 MediaQuery::Restrictor m_restrictor; |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 const static State ReadFeatureEnd; | 97 const static State ReadFeatureEnd; |
| 99 const static State SkipUntilComma; | 98 const static State SkipUntilComma; |
| 100 const static State SkipUntilBlockEnd; | 99 const static State SkipUntilBlockEnd; |
| 101 const static State Done; | 100 const static State Done; |
| 102 | 101 |
| 103 }; | 102 }; |
| 104 | 103 |
| 105 } // namespace blink | 104 } // namespace blink |
| 106 | 105 |
| 107 #endif // MediaQueryParser_h | 106 #endif // MediaQueryParser_h |
| OLD | NEW |