// 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. #ifndef COMPONENTS_VIZ_CLIENT_FRAME_EVICTOR_H_ #define COMPONENTS_VIZ_CLIENT_FRAME_EVICTOR_H_ #include <vector> #include "base/memory/raw_ptr.h" #include "components/viz/client/frame_eviction_manager.h" #include "components/viz/common/surfaces/surface_id.h" namespace viz { class VIZ_CLIENT_EXPORT FrameEvictorClient { … }; // Keeps track of the visibility state of a child and notifies when the parent // needs to drop its surface. class VIZ_CLIENT_EXPORT FrameEvictor : public FrameEvictionManagerClient { … }; } // namespace viz #endif // COMPONENTS_VIZ_CLIENT_FRAME_EVICTOR_H_