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 10 matching lines...) Expand all Loading... |
21 #include "core/css/MediaQueryMatcher.h" | 21 #include "core/css/MediaQueryMatcher.h" |
22 | 22 |
23 #include "core/css/MediaList.h" | 23 #include "core/css/MediaList.h" |
24 #include "core/css/MediaQueryEvaluator.h" | 24 #include "core/css/MediaQueryEvaluator.h" |
25 #include "core/css/MediaQueryList.h" | 25 #include "core/css/MediaQueryList.h" |
26 #include "core/css/MediaQueryListListener.h" | 26 #include "core/css/MediaQueryListListener.h" |
27 #include "core/css/resolver/StyleResolver.h" | 27 #include "core/css/resolver/StyleResolver.h" |
28 #include "core/dom/Document.h" | 28 #include "core/dom/Document.h" |
29 #include "core/frame/FrameView.h" | 29 #include "core/frame/FrameView.h" |
30 #include "core/frame/LocalFrame.h" | 30 #include "core/frame/LocalFrame.h" |
| 31 #include "wtf/Vector.h" |
31 | 32 |
32 namespace blink { | 33 namespace blink { |
33 | 34 |
34 PassRefPtrWillBeRawPtr<MediaQueryMatcher> MediaQueryMatcher::create(Document& do
cument) | 35 PassRefPtrWillBeRawPtr<MediaQueryMatcher> MediaQueryMatcher::create(Document& do
cument) |
35 { | 36 { |
36 return adoptRefWillBeNoop(new MediaQueryMatcher(document)); | 37 return adoptRefWillBeNoop(new MediaQueryMatcher(document)); |
37 } | 38 } |
38 | 39 |
39 MediaQueryMatcher::MediaQueryMatcher(Document& document) | 40 MediaQueryMatcher::MediaQueryMatcher(Document& document) |
40 : m_document(&document) | 41 : m_document(&document) |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 void MediaQueryMatcher::trace(Visitor* visitor) | 141 void MediaQueryMatcher::trace(Visitor* visitor) |
141 { | 142 { |
142 #if ENABLE(OILPAN) | 143 #if ENABLE(OILPAN) |
143 visitor->trace(m_document); | 144 visitor->trace(m_document); |
144 visitor->trace(m_mediaLists); | 145 visitor->trace(m_mediaLists); |
145 visitor->trace(m_viewportListeners); | 146 visitor->trace(m_viewportListeners); |
146 #endif | 147 #endif |
147 } | 148 } |
148 | 149 |
149 } | 150 } |
OLD | NEW |