chromium/ui/views/controls/scrollbar/base_scroll_bar_thumb.cc

// Copyright 2011 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/views/controls/scrollbar/base_scroll_bar_thumb.h"

#include "base/i18n/rtl.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/controls/scrollbar/scroll_bar.h"

namespace {
// The distance the mouse can be dragged outside the bounds of the thumb during
// dragging before the scrollbar will snap back to its regular position.
static constexpr int kScrollThumbDragOutSnap =;
}  // namespace

namespace views {

BaseScrollBarThumb::BaseScrollBarThumb(ScrollBar* scroll_bar)
    :{}

BaseScrollBarThumb::~BaseScrollBarThumb() = default;

void BaseScrollBarThumb::SetLength(int length) {}

int BaseScrollBarThumb::GetLength() const {}

void BaseScrollBarThumb::SetPosition(int position) {}

int BaseScrollBarThumb::GetPosition() const {}

void BaseScrollBarThumb::SetSnapBackOnDragOutside(bool snap) {}

bool BaseScrollBarThumb::GetSnapBackOnDragOutside() const {}

void BaseScrollBarThumb::OnMouseEntered(const ui::MouseEvent& event) {}

void BaseScrollBarThumb::OnMouseExited(const ui::MouseEvent& event) {}

bool BaseScrollBarThumb::OnMousePressed(const ui::MouseEvent& event) {}

bool BaseScrollBarThumb::OnMouseDragged(const ui::MouseEvent& event) {}

void BaseScrollBarThumb::OnMouseReleased(const ui::MouseEvent& event) {}

void BaseScrollBarThumb::OnMouseCaptureLost() {}

Button::ButtonState BaseScrollBarThumb::GetState() const {}

void BaseScrollBarThumb::SetState(Button::ButtonState state) {}

void BaseScrollBarThumb::OnStateChanged() {}

bool BaseScrollBarThumb::IsHorizontal() const {}

BEGIN_METADATA()

}  // namespace views