| 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 | 21 |
| 22 #include "core/css/MediaList.h" | 22 #include "core/css/MediaList.h" |
| 23 #include "core/css/MediaQueryEvaluator.h" | 23 #include "core/css/MediaQueryEvaluator.h" |
| 24 #include "core/css/MediaQueryList.h" | 24 #include "core/css/MediaQueryList.h" |
| 25 #include "core/css/MediaQueryListEvent.h" | 25 #include "core/css/MediaQueryListEvent.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 #include "platform/wtf/Vector.h" |
| 32 | 32 |
| 33 namespace blink { | 33 namespace blink { |
| 34 | 34 |
| 35 MediaQueryMatcher* MediaQueryMatcher::Create(Document& document) { | 35 MediaQueryMatcher* MediaQueryMatcher::Create(Document& document) { |
| 36 return new MediaQueryMatcher(document); | 36 return new MediaQueryMatcher(document); |
| 37 } | 37 } |
| 38 | 38 |
| 39 MediaQueryMatcher::MediaQueryMatcher(Document& document) | 39 MediaQueryMatcher::MediaQueryMatcher(Document& document) |
| 40 : document_(&document) { | 40 : document_(&document) { |
| 41 DCHECK(document_); | 41 DCHECK(document_); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 } | 131 } |
| 132 | 132 |
| 133 DEFINE_TRACE(MediaQueryMatcher) { | 133 DEFINE_TRACE(MediaQueryMatcher) { |
| 134 visitor->Trace(document_); | 134 visitor->Trace(document_); |
| 135 visitor->Trace(evaluator_); | 135 visitor->Trace(evaluator_); |
| 136 visitor->Trace(media_lists_); | 136 visitor->Trace(media_lists_); |
| 137 visitor->Trace(viewport_listeners_); | 137 visitor->Trace(viewport_listeners_); |
| 138 } | 138 } |
| 139 | 139 |
| 140 } // namespace blink | 140 } // namespace blink |
| OLD | NEW |