chromium/third_party/blink/renderer/core/css/parser/css_parser_context.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/css/parser/css_parser_context.h"

#include "third_party/blink/renderer/core/css/css_custom_ident_value.h"
#include "third_party/blink/renderer/core/css/css_style_sheet.h"
#include "third_party/blink/renderer/core/css/css_value_list.h"
#include "third_party/blink/renderer/core/css/style_rule_keyframe.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/execution_context/security_context.h"
#include "third_party/blink/renderer/core/frame/csp/content_security_policy.h"
#include "third_party/blink/renderer/core/frame/deprecation/deprecation.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/html/html_document.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/core/page/page.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"

namespace blink {

CSSParserContext::CSSParserContext(const CSSParserContext* other,
                                   const CSSStyleSheet* style_sheet)
    :{}

CSSParserContext::CSSParserContext(
    const CSSParserContext* other,
    const StyleSheetContents* style_sheet_contents)
    :{}

CSSParserContext::CSSParserContext(const CSSParserContext* other,
                                   const Document* use_counter_document)
    :{}

CSSParserContext::CSSParserContext(const CSSParserContext* other,
                                   const KURL& base_url,
                                   bool origin_clean,
                                   const Referrer& referrer,
                                   const WTF::TextEncoding& charset,
                                   const Document* use_counter_document)
    :{}

CSSParserContext::CSSParserContext(CSSParserMode mode,
                                   SecureContextMode secure_context_mode,
                                   const Document* use_counter_document)
    :{}

CSSParserContext::CSSParserContext(const Document& document)
    :{}

CSSParserContext::CSSParserContext(const Document& document,
                                   const KURL& base_url_override)
    :{}

CSSParserContext::CSSParserContext(
    const Document& document,
    const KURL& base_url_override,
    bool origin_clean,
    const Referrer& referrer,
    const WTF::TextEncoding& charset,
    enum ResourceFetchRestriction resource_fetch_restriction)
    :{}

CSSParserContext::CSSParserContext(const ExecutionContext& context)
    :{}

CSSParserContext::CSSParserContext(
    const KURL& base_url,
    bool origin_clean,
    const WTF::TextEncoding& charset,
    CSSParserMode mode,
    const Referrer& referrer,
    bool is_html_document,
    SecureContextMode secure_context_mode,
    const DOMWrapperWorld* world,
    const Document* use_counter_document,
    enum ResourceFetchRestriction resource_fetch_restriction)
    :{}

bool CSSParserContext::operator==(const CSSParserContext& other) const {}

// TODO(xiaochengh): This function never returns null. Change it to return a
// const reference to avoid confusion.
const CSSParserContext* StrictCSSParserContext(
    SecureContextMode secure_context_mode) {}

bool CSSParserContext::IsOriginClean() const {}

bool CSSParserContext::IsSecureContext() const {}

KURL CSSParserContext::CompleteURL(const String& url) const {}

KURL CSSParserContext::CompleteNonEmptyURL(const String& url) const {}

void CSSParserContext::Count(WebFeature feature) const {}

void CSSParserContext::CountDeprecation(WebFeature feature) const {}

void CSSParserContext::Count(CSSParserMode mode, CSSPropertyID property) const {}

bool CSSParserContext::IsDocumentHandleEqual(const Document* other) const {}

const Document* CSSParserContext::GetDocument() const {}

// Fuzzers may execution CSS parsing code without a Document being available,
// thus this method can return null.
const ExecutionContext* CSSParserContext::GetExecutionContext() const {}

bool CSSParserContext::IsForMarkupSanitization() const {}

void CSSParserContext::Trace(Visitor* visitor) const {}

}  // namespace blink