| 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 MediaControlOverflowMenuButtonElement_h |
| 6 #define MediaControlOverflowMenuButtonElement_h |
| 7 |
| 8 #include "core/html/shadow/MediaControlElementTypes.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class Event; |
| 13 class MediaControlsImpl; |
| 14 |
| 15 // Represents the overflow menu which is displayed when the width of the media |
| 16 // player is small enough that at least two buttons are no longer visible. |
| 17 class MediaControlOverflowMenuButtonElement final |
| 18 : public MediaControlInputElement { |
| 19 public: |
| 20 explicit MediaControlOverflowMenuButtonElement(MediaControlsImpl&); |
| 21 |
| 22 // MediaControlInputElement overrides. |
| 23 bool WillRespondToMouseClickEvents() override; |
| 24 |
| 25 private: |
| 26 void DefaultEventHandler(Event*) override; |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // MediaControlOverflowMenuButtonElement_h |
| OLD | NEW |