| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 
|  | 2 // Use of this source code is governed by a BSD-style license that can be | 
|  | 3 // found in the LICENSE file. | 
|  | 4 | 
|  | 5 #ifndef MediaControlVolumeSliderElement_h | 
|  | 6 #define MediaControlVolumeSliderElement_h | 
|  | 7 | 
|  | 8 #include "core/html/shadow/MediaControlElementTypes.h" | 
|  | 9 | 
|  | 10 namespace blink { | 
|  | 11 | 
|  | 12 class Event; | 
|  | 13 class MediaControlsImpl; | 
|  | 14 | 
|  | 15 class MediaControlVolumeSliderElement final : public MediaControlInputElement { | 
|  | 16  public: | 
|  | 17   explicit MediaControlVolumeSliderElement(MediaControlsImpl&); | 
|  | 18 | 
|  | 19   // TODO: who calls this? | 
|  | 20   void SetVolume(double); | 
|  | 21 | 
|  | 22   // MediaControlInputElement overrides. | 
|  | 23   bool WillRespondToMouseMoveEvents() override; | 
|  | 24   bool WillRespondToMouseClickEvents() override; | 
|  | 25 | 
|  | 26  private: | 
|  | 27   void DefaultEventHandler(Event*) override; | 
|  | 28   bool KeepEventInNode(Event*) override; | 
|  | 29 }; | 
|  | 30 | 
|  | 31 }  // namespace blink | 
|  | 32 | 
|  | 33 #endif  // MediaControlVolumeSliderElement_h | 
| OLD | NEW | 
|---|