chromium/third_party/blink/renderer/core/paint/box_paint_invalidator.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/paint/box_paint_invalidator.h"

#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/layout/ink_overflow.h"
#include "third_party/blink/renderer/core/layout/layout_replaced.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
#include "third_party/blink/renderer/core/paint/object_paint_invalidator.h"
#include "third_party/blink/renderer/core/paint/paint_invalidator.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
#include "third_party/blink/renderer/core/paint/paint_layer_scrollable_area.h"

namespace blink {

bool BoxPaintInvalidator::HasEffectiveBackground() {}

// |width| is of the positioning area.
static bool ShouldFullyInvalidateFillLayersOnWidthChange(
    const FillLayer& layer) {}

// |height| is of the positioning area.
static bool ShouldFullyInvalidateFillLayersOnHeightChange(
    const FillLayer& layer) {}

// old_size and new_size are the old and new sizes of the positioning area.
bool ShouldFullyInvalidateFillLayersOnSizeChange(const FillLayer& layer,
                                                 const PhysicalSize& old_size,
                                                 const PhysicalSize& new_size) {}

PaintInvalidationReason BoxPaintInvalidator::ComputePaintInvalidationReason() {}

bool BoxPaintInvalidator::BackgroundGeometryDependsOnScrollableOverflowRect() {}

bool BoxPaintInvalidator::BackgroundPaintsInContentsSpace() {}

bool BoxPaintInvalidator::BackgroundPaintsInBorderBoxSpace() {}

bool BoxPaintInvalidator::
    ShouldFullyInvalidateBackgroundOnScrollableOverflowChange(
        const PhysicalRect& old_scrollable_overflow,
        const PhysicalRect& new_scrollable_overflow) {}

BoxPaintInvalidator::BackgroundInvalidationType
BoxPaintInvalidator::ComputeViewBackgroundInvalidation() {}

BoxPaintInvalidator::BackgroundInvalidationType
BoxPaintInvalidator::ComputeBackgroundInvalidation(
    bool& should_invalidate_all_layers) {}

void BoxPaintInvalidator::InvalidateBackground() {}

void BoxPaintInvalidator::InvalidatePaint() {}

bool BoxPaintInvalidator::NeedsToSavePreviousContentBoxRect() {}

bool BoxPaintInvalidator::NeedsToSavePreviousOverflowData() {}

void BoxPaintInvalidator::SavePreviousBoxGeometriesIfNeeded() {}

}  // namespace blink