chromium/third_party/blink/renderer/core/css/active_style_sheets.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.

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/core/css/active_style_sheets.h"

#include "third_party/blink/renderer/core/css/css_style_sheet.h"
#include "third_party/blink/renderer/core/css/resolver/scoped_style_resolver.h"
#include "third_party/blink/renderer/core/css/rule_set.h"
#include "third_party/blink/renderer/core/css/style_change_reason.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/container_node.h"

namespace blink {

ActiveSheetsChange CompareActiveStyleSheets(
    const ActiveStyleSheetVector& old_style_sheets,
    const ActiveStyleSheetVector& new_style_sheets,
    const HeapVector<Member<RuleSetDiff>>& diffs,
    HeapHashSet<Member<RuleSet>>& changed_rule_sets) {}

namespace {

bool HasMediaQueries(const ActiveStyleSheetVector& active_style_sheets) {}

bool HasSizeDependentMediaQueries(
    const ActiveStyleSheetVector& active_style_sheets) {}

bool HasDynamicViewportDependentMediaQueries(
    const ActiveStyleSheetVector& active_style_sheets) {}

}  // namespace

bool AffectedByMediaValueChange(const ActiveStyleSheetVector& active_sheets,
                                MediaValueChange change) {}

}  // namespace blink