chromium/third_party/blink/renderer/modules/media_controls/elements/media_control_volume_slider_element.cc

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

#include "third_party/blink/renderer/modules/media_controls/elements/media_control_volume_slider_element.h"

#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/public/platform/user_metrics_action.h"
#include "third_party/blink/renderer/core/dom/dom_token_list.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/dom/events/native_event_listener.h"
#include "third_party/blink/renderer/core/events/gesture_event.h"
#include "third_party/blink/renderer/core/events/keyboard_event.h"
#include "third_party/blink/renderer/core/events/mouse_event.h"
#include "third_party/blink/renderer/core/events/pointer_event.h"
#include "third_party/blink/renderer/core/events/wheel_event.h"
#include "third_party/blink/renderer/core/html/media/html_media_element.h"
#include "third_party/blink/renderer/core/html_names.h"
#include "third_party/blink/renderer/core/layout/layout_object.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_consts.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_elements_helper.h"
#include "third_party/blink/renderer/modules/media_controls/elements/media_control_volume_control_container_element.h"
#include "third_party/blink/renderer/modules/media_controls/media_controls_impl.h"

namespace blink {

namespace {

// The amount to change the volume by for a wheel event.
constexpr double kScrollVolumeDelta =;

}  // namespace

class MediaControlVolumeSliderElement::WheelEventListener
    : public NativeEventListener {};

MediaControlVolumeSliderElement::MediaControlVolumeSliderElement(
    MediaControlsImpl& media_controls,
    MediaControlVolumeControlContainerElement* container)
    :{}

void MediaControlVolumeSliderElement::SetVolume(double volume) {}

void MediaControlVolumeSliderElement::OpenSlider() {}

void MediaControlVolumeSliderElement::CloseSlider() {}

bool MediaControlVolumeSliderElement::WillRespondToMouseMoveEvents() const {}

bool MediaControlVolumeSliderElement::WillRespondToMouseClickEvents() {}

void MediaControlVolumeSliderElement::Trace(Visitor* visitor) const {}

const char* MediaControlVolumeSliderElement::GetNameForHistograms() const {}

void MediaControlVolumeSliderElement::DefaultEventHandler(Event& event) {}

void MediaControlVolumeSliderElement::SetVolumeInternal(double volume) {}

bool MediaControlVolumeSliderElement::KeepEventInNode(
    const Event& event) const {}

void MediaControlVolumeSliderElement::OnWheelEvent(WheelEvent* wheel_event) {}

void MediaControlVolumeSliderElement::UnmuteAndSetVolume(double volume) {}

}  // namespace blink