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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 bool operator==(const MediaQueryExp& other) const; | 89 bool operator==(const MediaQueryExp& other) const; |
90 | 90 |
91 bool isViewportDependent() const; | 91 bool isViewportDependent() const; |
92 | 92 |
93 String serialize() const; | 93 String serialize() const; |
94 | 94 |
95 PassOwnPtrWillBeRawPtr<MediaQueryExp> copy() const { return adoptPtrWillBeNo
op(new MediaQueryExp(*this)); } | 95 PassOwnPtrWillBeRawPtr<MediaQueryExp> copy() const { return adoptPtrWillBeNo
op(new MediaQueryExp(*this)); } |
96 | 96 |
97 MediaQueryExp(const MediaQueryExp& other); | 97 MediaQueryExp(const MediaQueryExp& other); |
98 | 98 |
99 void trace(Visitor* visitor) { } | 99 DEFINE_INLINE_TRACE() { } |
100 | 100 |
101 private: | 101 private: |
102 MediaQueryExp(const String&, const MediaQueryExpValue&); | 102 MediaQueryExp(const String&, const MediaQueryExpValue&); |
103 | 103 |
104 String m_mediaFeature; | 104 String m_mediaFeature; |
105 MediaQueryExpValue m_expValue; | 105 MediaQueryExpValue m_expValue; |
106 }; | 106 }; |
107 | 107 |
108 } // namespace | 108 } // namespace |
109 | 109 |
110 #endif | 110 #endif |
OLD | NEW |