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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 || m_mediaFeature == MediaFeatureNam
es::max_heightMediaFeature | 65 || m_mediaFeature == MediaFeatureNam
es::max_heightMediaFeature |
66 || m_mediaFeature == MediaFeatureNam
es::orientationMediaFeature | 66 || m_mediaFeature == MediaFeatureNam
es::orientationMediaFeature |
67 || m_mediaFeature == MediaFeatureNam
es::aspect_ratioMediaFeature | 67 || m_mediaFeature == MediaFeatureNam
es::aspect_ratioMediaFeature |
68 || m_mediaFeature == MediaFeatureNam
es::min_aspect_ratioMediaFeature | 68 || m_mediaFeature == MediaFeatureNam
es::min_aspect_ratioMediaFeature |
69 || m_mediaFeature == MediaFeatureNam
es::max_aspect_ratioMediaFeature; } | 69 || m_mediaFeature == MediaFeatureNam
es::max_aspect_ratioMediaFeature; } |
70 | 70 |
71 String serialize() const; | 71 String serialize() const; |
72 | 72 |
73 PassOwnPtr<MediaQueryExp> copy() const { return adoptPtr(new MediaQueryExp(*
this)); } | 73 PassOwnPtr<MediaQueryExp> copy() const { return adoptPtr(new MediaQueryExp(*
this)); } |
74 | 74 |
75 void reportMemoryUsage(MemoryObjectInfo*) const; | |
76 | |
77 private: | 75 private: |
78 MediaQueryExp(const AtomicString& mediaFeature, CSSParserValueList* values); | 76 MediaQueryExp(const AtomicString& mediaFeature, CSSParserValueList* values); |
79 | 77 |
80 AtomicString m_mediaFeature; | 78 AtomicString m_mediaFeature; |
81 RefPtr<CSSValue> m_value; | 79 RefPtr<CSSValue> m_value; |
82 bool m_isValid; | 80 bool m_isValid; |
83 String m_serializationCache; | 81 String m_serializationCache; |
84 }; | 82 }; |
85 | 83 |
86 } // namespace | 84 } // namespace |
87 | 85 |
88 #endif | 86 #endif |
OLD | NEW |