#include "third_party/blink/renderer/core/css/style_element.h"
#include "third_party/blink/renderer/bindings/core/v8/script_controller.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/style_engine.h"
#include "third_party/blink/renderer/core/css/style_sheet_contents.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/element.h"
#include "third_party/blink/renderer/core/dom/scriptable_document_parser.h"
#include "third_party/blink/renderer/core/dom/shadow_root.h"
#include "third_party/blink/renderer/core/frame/csp/content_security_policy.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/html/blocking_attribute.h"
#include "third_party/blink/renderer/core/html/html_style_element.h"
#include "third_party/blink/renderer/core/probe/core_probes.h"
#include "third_party/blink/renderer/core/svg/svg_style_element.h"
#include "third_party/blink/renderer/platform/instrumentation/tracing/trace_event.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
namespace blink {
static bool IsCSS(const Element& element, const AtomicString& type) { … }
StyleElement::StyleElement(Document* document, bool created_by_parser)
: … { … }
StyleElement::~StyleElement() = default;
StyleElement::ProcessingResult StyleElement::ProcessStyleSheet(
Document& document,
Element& element) { … }
void StyleElement::RemovedFrom(Element& element,
ContainerNode& insertion_point) { … }
StyleElement::ProcessingResult StyleElement::ChildrenChanged(Element& element) { … }
StyleElement::ProcessingResult StyleElement::FinishParsingChildren(
Element& element) { … }
StyleElement::ProcessingResult StyleElement::Process(Element& element) { … }
void StyleElement::ClearSheet(Element& owner_element) { … }
static bool IsInUserAgentShadowDOM(const Element& element) { … }
StyleElement::ProcessingResult StyleElement::CreateSheet(Element& element,
const String& text) { … }
bool StyleElement::IsLoading() const { … }
bool StyleElement::SheetLoaded(Document& document) { … }
void StyleElement::SetToPendingState(Document& document, Element& element) { … }
void StyleElement::BlockingAttributeChanged(Element& element) { … }
void StyleElement::Trace(Visitor* visitor) const { … }
}