#include "content/browser/renderer_host/input/fling_scheduler.h"
#include "build/build_config.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
#include "ui/compositor/compositor.h"
#include "ui/display/screen.h"
#if defined(USE_AURA)
#include "ui/aura/window.h"
#include "ui/aura/window_tree_host.h"
#endif
#if BUILDFLAG(IS_CHROMEOS)
#include "ui/display/screen.h"
#endif
#if BUILDFLAG(IS_WIN)
#include "ui/display/win/screen_win.h"
#endif
namespace content {
FlingScheduler::FlingScheduler(RenderWidgetHostImpl* host) : … { … }
FlingScheduler::~FlingScheduler() { … }
void FlingScheduler::ScheduleFlingProgress(
base::WeakPtr<input::FlingController> fling_controller) { … }
void FlingScheduler::DidStopFlingingOnBrowser(
base::WeakPtr<input::FlingController> fling_controller) { … }
bool FlingScheduler::NeedsBeginFrameForFlingProgress() { … }
bool FlingScheduler::ShouldUseMobileFlingCurve() { … }
gfx::Vector2dF FlingScheduler::GetPixelsPerInch(
const gfx::PointF& position_in_screen) { … }
void FlingScheduler::ProgressFlingOnBeginFrameIfneeded(
base::TimeTicks current_time) { … }
ui::Compositor* FlingScheduler::GetCompositor() { … }
void FlingScheduler::OnAnimationStep(base::TimeTicks timestamp) { … }
void FlingScheduler::OnCompositingShuttingDown(ui::Compositor* compositor) { … }
}