#include "third_party/blink/renderer/core/css/media_list.h"
#include <memory>
#include "third_party/blink/renderer/core/css/css_style_rule.h"
#include "third_party/blink/renderer/core/css/css_style_sheet.h"
#include "third_party/blink/renderer/core/css/media_query_exp.h"
#include "third_party/blink/renderer/core/css/media_query_set_owner.h"
#include "third_party/blink/renderer/core/css/parser/media_query_parser.h"
#include "third_party/blink/renderer/core/css/style_sheet_contents.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
MediaQuerySet::MediaQuerySet() = default;
MediaQuerySet::MediaQuerySet(const MediaQuerySet&) = default;
MediaQuerySet::MediaQuerySet(HeapVector<Member<const MediaQuery>> queries)
: … { … }
MediaQuerySet* MediaQuerySet::Create(
const String& media_string,
const ExecutionContext* execution_context) { … }
void MediaQuerySet::Trace(Visitor* visitor) const { … }
const MediaQuerySet* MediaQuerySet::CopyAndAdd(
const String& query_string,
const ExecutionContext* execution_context) const { … }
const MediaQuerySet* MediaQuerySet::CopyAndRemove(
const String& query_string_to_remove,
const ExecutionContext* execution_context) const { … }
String MediaQuerySet::MediaText() const { … }
MediaList::MediaList(CSSStyleSheet* parent_sheet)
: … { … }
MediaList::MediaList(CSSRule* parent_rule)
: … { … }
String MediaList::mediaText(ExecutionContext* execution_context) const { … }
void MediaList::setMediaText(const ExecutionContext* execution_context,
const String& value) { … }
String MediaList::item(unsigned index) const { … }
void MediaList::deleteMedium(const ExecutionContext* execution_context,
const String& medium,
ExceptionState& exception_state) { … }
void MediaList::appendMedium(const ExecutionContext* execution_context,
const String& medium) { … }
const MediaQuerySet* MediaList::Queries() const { … }
void MediaList::Trace(Visitor* visitor) const { … }
MediaQuerySetOwner* MediaList::Owner() const { … }
void MediaList::NotifyMutation() { … }
}