OLD | NEW |
1 /* | 1 /* |
2 * CSS Media Query | 2 * CSS Media Query |
3 * | 3 * |
4 * Copyright (C) 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>. | 4 * Copyright (C) 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>. |
5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 5 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
6 * | 6 * |
7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
9 * are met: | 9 * are met: |
10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #ifndef MediaQueryExp_h | 29 #ifndef MediaQueryExp_h |
30 #define MediaQueryExp_h | 30 #define MediaQueryExp_h |
31 | 31 |
32 #include "core/CSSValueKeywords.h" | 32 #include "core/CSSValueKeywords.h" |
33 #include "core/CoreExport.h" | 33 #include "core/CoreExport.h" |
34 #include "core/MediaFeatureNames.h" | 34 #include "core/MediaFeatureNames.h" |
35 #include "core/css/CSSPrimitiveValue.h" | 35 #include "core/css/CSSPrimitiveValue.h" |
36 #include "core/css/CSSValue.h" | 36 #include "core/css/CSSValue.h" |
37 #include "wtf/Allocator.h" | 37 #include "wtf/Allocator.h" |
| 38 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/RefPtr.h" | 39 #include "wtf/RefPtr.h" |
39 | 40 |
40 namespace blink { | 41 namespace blink { |
41 | 42 |
42 class CSSParserToken; | 43 class CSSParserToken; |
43 | 44 |
44 struct MediaQueryExpValue { | 45 struct MediaQueryExpValue { |
45 DISALLOW_NEW(); | 46 DISALLOW_NEW(); |
46 CSSValueID id; | 47 CSSValueID id; |
47 double value; | 48 double value; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 private: | 106 private: |
106 MediaQueryExp(const String&, const MediaQueryExpValue&); | 107 MediaQueryExp(const String&, const MediaQueryExpValue&); |
107 | 108 |
108 String m_mediaFeature; | 109 String m_mediaFeature; |
109 MediaQueryExpValue m_expValue; | 110 MediaQueryExpValue m_expValue; |
110 }; | 111 }; |
111 | 112 |
112 } // namespace blink | 113 } // namespace blink |
113 | 114 |
114 #endif | 115 #endif |
OLD | NEW |