chromium/third_party/blink/renderer/core/css/style_element.cc

/*
 * Copyright (C) 2006, 2007 Rob Buis
 * Copyright (C) 2008 Apple, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#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 {}

}  // namespace blink