chromium/components/viz/test/fake_surface_observer.cc

// Copyright 2017 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/viz/test/fake_surface_observer.h"

#include "components/viz/service/surfaces/surface_manager.h"

namespace viz {

FakeSurfaceObserver::FakeSurfaceObserver(SurfaceManager* manager,
                                         bool damage_display)
    :{}

FakeSurfaceObserver::~FakeSurfaceObserver() = default;

void FakeSurfaceObserver::Reset() {}

bool FakeSurfaceObserver::IsSurfaceDamaged(const SurfaceId& surface_id) const {}

bool FakeSurfaceObserver::OnSurfaceDamaged(
    const SurfaceId& surface_id,
    const BeginFrameAck& ack,
    HandleInteraction handle_interaction) {}

void FakeSurfaceObserver::OnFirstSurfaceActivation(
    const SurfaceInfo& surface_info) {}

void FakeSurfaceObserver::OnSurfaceActivated(const SurfaceId& surface_id) {}

}  // namespace viz