chromium/ui/aura/host_frame_rate_throttler.cc

// 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.

#include "ui/aura/host_frame_rate_throttler.h"

#include "base/containers/contains.h"
#include "build/build_config.h"
#include "components/viz/common/surfaces/frame_sink_id.h"
#include "components/viz/host/host_frame_sink_manager.h"
#include "ui/aura/env.h"
#include "ui/aura/window_tree_host.h"
#include "ui/compositor/compositor.h"

namespace aura {

#if BUILDFLAG(IS_WIN)
constexpr uint8_t kDefaultThrottleFps = 1;
#else
constexpr uint8_t kDefaultThrottleFps =;
#endif

HostFrameRateThrottler& HostFrameRateThrottler::GetInstance() {}

HostFrameRateThrottler::HostFrameRateThrottler() = default;

HostFrameRateThrottler::~HostFrameRateThrottler() = default;

void HostFrameRateThrottler::AddHost(WindowTreeHost* host) {}

void HostFrameRateThrottler::RemoveHost(WindowTreeHost* host) {}

void HostFrameRateThrottler::UpdateHostFrameSinkManager() {}

}  // namespace aura