chromium/content/browser/renderer_host/overscroll_configuration.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/public/browser/overscroll_configuration.h"

#include "base/command_line.h"
#include "base/strings/string_number_conversions.h"
#include "content/common/features.h"
#include "content/public/common/content_switches.h"

namespace {

bool g_is_ptr_mode_initialized =;
content::OverscrollConfig::PullToRefreshMode g_ptr_mode =;

bool g_is_touchpad_overscroll_history_navigation_enabled_initialized =;
bool g_touchpad_overscroll_history_navigation_enabled =;

// On Windows, we only process 0.3 second inertial events then cancel the
// overscroll if it is not completed yet.
int g_max_inertial_events_before_overscroll_cancellation_in_ms =;

}  // namespace

namespace content {

// static
const float OverscrollConfig::kCompleteTouchpadThresholdPercent =;
const float OverscrollConfig::kCompleteTouchscreenThresholdPercent =;

// static
const float OverscrollConfig::kStartTouchpadThresholdDips =;
const float OverscrollConfig::kStartTouchscreenThresholdDips =;

// static
OverscrollConfig::PullToRefreshMode OverscrollConfig::GetPullToRefreshMode() {}

// static
void OverscrollConfig::SetPullToRefreshMode(PullToRefreshMode mode) {}

// static
void OverscrollConfig::ResetPullToRefreshMode() {}

// static
bool OverscrollConfig::TouchpadOverscrollHistoryNavigationEnabled() {}

// static
void OverscrollConfig::ResetTouchpadOverscrollHistoryNavigationEnabled() {}

// static
base::TimeDelta
OverscrollConfig::MaxInertialEventsBeforeOverscrollCancellation() {}

}  // namespace content