chromium/components/performance_manager/decorators/frame_visibility_decorator_unittest.cc

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

#include "components/performance_manager/decorators/frame_visibility_decorator.h"

#include <memory>

#include "components/performance_manager/test_support/graph_test_harness.h"

namespace performance_manager {

class FrameVisibilityDecoratorTest : public GraphTestHarness {};

// Tests that a main frame in a visible page is not visible if it is not
// current.
TEST_F(FrameVisibilityDecoratorTest, IsCurrent) {}

TEST_F(FrameVisibilityDecoratorTest, SetPageVisible) {}

TEST_F(FrameVisibilityDecoratorTest, PageIsBeingMirrored) {}

// Checks the interaction with PageLiveStateDecorator::Data::IsBeingMirrored and
// PageNode::IsVisible.
TEST_F(FrameVisibilityDecoratorTest, PageUserVisible) {}

TEST_F(FrameVisibilityDecoratorTest, SetPageVisibleWithChildNodes) {}

TEST_F(FrameVisibilityDecoratorTest, SetFrameIntersectsViewport) {}

TEST_F(FrameVisibilityDecoratorTest, FencedFrame) {}

}  // namespace performance_manager