chromium/content/browser/renderer_host/overscroll_controller.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/renderer_host/overscroll_controller.h"

#include <algorithm>

#include "base/check_op.h"
#include "base/command_line.h"
#include "base/notreached.h"
#include "content/browser/renderer_host/overscroll_controller_delegate.h"
#include "content/public/browser/overscroll_configuration.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"

namespace content {

namespace {

// Minimum amount of time after an actual scroll after which a pull-to-refresh
// can start.
constexpr base::TimeDelta kPullToRefreshCoolOffDelay =;

bool IsGestureEventFromTouchpad(const blink::WebInputEvent& event) {}

bool IsGestureEventFromAutoscroll(const blink::WebGestureEvent event) {}

bool IsGestureScrollUpdateInertialEvent(const blink::WebInputEvent& event) {}

float ClampAbsoluteValue(float value, float max_abs) {}

}  // namespace

OverscrollController::OverscrollController() {}

OverscrollController::~OverscrollController() {}

bool OverscrollController::ShouldProcessEvent(
    const blink::WebInputEvent& event) {}

bool OverscrollController::ShouldIgnoreInertialEvent(
    const blink::WebInputEvent& event) const {}

bool OverscrollController::WillHandleEvent(const blink::WebInputEvent& event) {}

void OverscrollController::OnDidOverscroll(
    const ui::DidOverscrollParams& params) {}

void OverscrollController::ReceivedEventACK(const blink::WebInputEvent& event,
                                            bool processed) {}

void OverscrollController::Reset() {}

void OverscrollController::Cancel() {}

bool OverscrollController::DispatchEventCompletesAction(
    const blink::WebInputEvent& event) const {}

bool OverscrollController::DispatchEventResetsState(
    const blink::WebInputEvent& event) const {}

bool OverscrollController::ProcessEventForOverscroll(
    const blink::WebInputEvent& event) {}

bool OverscrollController::ProcessOverscroll(float delta_x,
                                             float delta_y,
                                             bool is_touchpad,
                                             bool is_inertial) {}

void OverscrollController::CompleteAction() {}

void OverscrollController::SetOverscrollMode(OverscrollMode mode,
                                             OverscrollSource source) {}

void OverscrollController::ResetScrollState() {}

}  // namespace content