Index: third_party/WebKit/Source/core/html/shadow/MediaControls.h |
diff --git a/third_party/WebKit/Source/core/html/shadow/MediaControls.h b/third_party/WebKit/Source/core/html/shadow/MediaControls.h |
index 0871204bcfb7a8994e4ce812b17b014d0b87d3b6..971d02e84664e19e947de5260b08dcdbf31ad729 100644 |
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h |
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h |
@@ -34,6 +34,7 @@ namespace blink { |
class Event; |
class TextTrackContainer; |
+class MediaControlsWindowEventListener; |
class CORE_EXPORT MediaControls final : public HTMLDivElement { |
public: |
@@ -121,6 +122,8 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement { |
void panelWidthChangedTimerFired(TimerBase*); |
+ void hideAllMenus(); |
+ |
// Hide elements that don't fit, and show those things that we want which |
// do fit. This requires that m_panelWidth is current. |
void computeWhichControlsFit(); |
@@ -155,6 +158,8 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement { |
Member<MediaControlFullscreenButtonElement> m_fullscreenButton; |
Member<MediaControlDownloadButtonElement> m_downloadButton; |
+ Member<MediaControlsWindowEventListener> m_windowEventListener; |
+ |
Timer<MediaControls> m_hideMediaControlsTimer; |
unsigned m_hideTimerBehaviorFlags; |
bool m_isMouseOverControls : 1; |