chromium/components/paint_preview/common/paint_preview_tracker_unittest.cc

// Copyright 2019 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/paint_preview/common/paint_preview_tracker.h"

#include "base/containers/flat_map.h"
#include "base/memory/raw_ptr.h"
#include "base/unguessable_token.h"
#include "components/paint_preview/common/serial_utils.h"
#include "skia/ext/font_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkPicture.h"
#include "third_party/skia/include/core/SkPictureRecorder.h"
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkTextBlob.h"
#include "ui/gfx/geometry/rect.h"

namespace paint_preview {

namespace {

struct TestContext {};

// A test canvas for checking that the pictures drawn to it have the cull rect
// we expect them to.
class ExpectSubframeCanvas : public SkCanvas {};

}  // namespace

TEST(PaintPreviewTrackerTest, TestGetters) {}

TEST(PaintPreviewTrackerTest, TestRemoteFramePlaceholderPicture) {}

TEST(PaintPreviewTrackerTest, TestGlyphRunList) {}

TEST(PaintPreviewTrackerTest, TestAnnotateLinks) {}

TEST(PaintPreviewTrackerTest, TestAnnotateAndMoveLinks) {}

TEST(PaintPreviewTrackerTest, AnnotateLinksWithTransform) {}

}  // namespace paint_preview