chromium/components/media_message_center/media_notification_volume_slider_view.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 "components/media_message_center/media_notification_volume_slider_view.h"

#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/skia_conversions.h"
#include "ui/views/controls/focus_ring.h"

namespace media_message_center {

namespace {
constexpr int kThumbRadius =;
constexpr int kSliderHeight =;
constexpr float kScrollVolumeDelta =;
constexpr float kKeyVolumeDelta =;
}  // anonymous namespace

MediaNotificationVolumeSliderView::MediaNotificationVolumeSliderView(
    base::RepeatingCallback<void(float)> set_volume_callback)
    :{}

MediaNotificationVolumeSliderView::~MediaNotificationVolumeSliderView() =
    default;

void MediaNotificationVolumeSliderView::UpdateColor(SkColor foreground,
                                                    SkColor background) {}

void MediaNotificationVolumeSliderView::SetVolume(float volume) {}

void MediaNotificationVolumeSliderView::SetMute(bool mute) {}

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

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

void MediaNotificationVolumeSliderView::OnGestureEvent(
    ui::GestureEvent* event) {}

bool MediaNotificationVolumeSliderView::OnKeyPressed(
    const ui::KeyEvent& event) {}

bool MediaNotificationVolumeSliderView::OnMouseWheel(
    const ui::MouseWheelEvent& event) {}

void MediaNotificationVolumeSliderView::OnPaint(gfx::Canvas* canvas) {}

void MediaNotificationVolumeSliderView::HandleMouseOrGestureEvent(
    float location_x) {}

void MediaNotificationVolumeSliderView::HandleVolumeChangeWithDelta(
    bool volume_up,
    float delta) {}

BEGIN_METADATA()

}  // namespace media_message_center