#include "third_party/blink/renderer/core/css/media_query_matcher.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/common/metrics/document_update_reason.h"
#include "third_party/blink/renderer/core/css/media_list.h"
#include "third_party/blink/renderer/core/css/media_query_evaluator.h"
#include "third_party/blink/renderer/core/css/media_query_list.h"
#include "third_party/blink/renderer/core/css/media_query_list_event.h"
#include "third_party/blink/renderer/core/css/media_query_list_listener.h"
#include "third_party/blink/renderer/core/css/resolver/style_resolver.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/platform/wtf/vector.h"
namespace blink {
MediaQueryMatcher::MediaQueryMatcher(Document& document)
: … { … }
MediaQueryMatcher::~MediaQueryMatcher() = default;
void MediaQueryMatcher::DocumentDetached() { … }
MediaQueryEvaluator* MediaQueryMatcher::CreateEvaluator() const { … }
bool MediaQueryMatcher::Evaluate(const MediaQuerySet* media) { … }
MediaQueryList* MediaQueryMatcher::MatchMedia(const String& query) { … }
void MediaQueryMatcher::AddMediaQueryList(MediaQueryList* query) { … }
void MediaQueryMatcher::RemoveMediaQueryList(MediaQueryList* query) { … }
void MediaQueryMatcher::AddViewportListener(MediaQueryListListener* listener) { … }
void MediaQueryMatcher::RemoveViewportListener(
MediaQueryListListener* listener) { … }
void MediaQueryMatcher::MediaFeaturesChanged() { … }
void MediaQueryMatcher::ViewportChanged() { … }
void MediaQueryMatcher::DynamicViewportChanged() { … }
void MediaQueryMatcher::Trace(Visitor* visitor) const { … }
}