OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 2 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 } | 124 } |
125 return false; | 125 return false; |
126 } | 126 } |
127 | 127 |
128 bool MediaQueryList::matches() | 128 bool MediaQueryList::matches() |
129 { | 129 { |
130 updateMatches(); | 130 updateMatches(); |
131 return m_matches; | 131 return m_matches; |
132 } | 132 } |
133 | 133 |
134 void MediaQueryList::trace(Visitor* visitor) | 134 DEFINE_TRACE(MediaQueryList) |
135 { | 135 { |
136 #if ENABLE(OILPAN) | 136 #if ENABLE(OILPAN) |
137 visitor->trace(m_matcher); | 137 visitor->trace(m_matcher); |
138 visitor->trace(m_media); | 138 visitor->trace(m_media); |
139 visitor->trace(m_listeners); | 139 visitor->trace(m_listeners); |
140 #endif | 140 #endif |
141 EventTargetWithInlineData::trace(visitor); | 141 EventTargetWithInlineData::trace(visitor); |
142 ActiveDOMObject::trace(visitor); | 142 ActiveDOMObject::trace(visitor); |
143 } | 143 } |
144 | 144 |
145 const AtomicString& MediaQueryList::interfaceName() const | 145 const AtomicString& MediaQueryList::interfaceName() const |
146 { | 146 { |
147 return EventTargetNames::MediaQueryList; | 147 return EventTargetNames::MediaQueryList; |
148 } | 148 } |
149 | 149 |
150 ExecutionContext* MediaQueryList::executionContext() const | 150 ExecutionContext* MediaQueryList::executionContext() const |
151 { | 151 { |
152 return ActiveDOMObject::executionContext(); | 152 return ActiveDOMObject::executionContext(); |
153 } | 153 } |
154 | 154 |
155 } | 155 } |
OLD | NEW |