// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_TREES_THROTTLE_DECIDER_H_ #define CC_TREES_THROTTLE_DECIDER_H_ #include "base/containers/flat_map.h" #include "base/containers/flat_set.h" #include "cc/cc_export.h" #include "components/viz/common/quads/compositor_render_pass.h" #include "components/viz/common/surfaces/frame_sink_id.h" namespace cc { class LayerImpl; // This class is used to decide if any frame sinks in a render pass list // satisfies the compositing-based criteria to be throttled. class CC_EXPORT ThrottleDecider { … }; } // namespace cc #endif // CC_TREES_THROTTLE_DECIDER_H_