Index: Source/core/html/shadow/MediaControls.h |
diff --git a/Source/core/html/shadow/MediaControls.h b/Source/core/html/shadow/MediaControls.h |
index 18234b7c5f29d6588a82cb054c211926062defd1..85597c9f555b536687b0411677d94d8a936ddef7 100644 |
--- a/Source/core/html/shadow/MediaControls.h |
+++ b/Source/core/html/shadow/MediaControls.h |
@@ -85,6 +85,7 @@ private: |
void updatePlayState(); |
enum HideBehaviorFlags { |
+ IgnoreNone = 0, |
IgnoreVideoHover = 1 << 0, |
IgnoreFocus = 1 << 1, |
IgnoreControlsHover = 1 << 2 |
@@ -92,7 +93,7 @@ private: |
bool shouldHideMediaControls(unsigned behaviorFlags = 0) const; |
void hideMediaControlsTimerFired(Timer<MediaControls>*); |
- void startHideMediaControlsTimer(); |
+ void startHideMediaControlsTimer(unsigned behaviorFlags = IgnoreNone); |
void stopHideMediaControlsTimer(); |
void resetHideMediaControlsTimer(); |
@@ -134,9 +135,9 @@ private: |
RawPtrWillBeMember<MediaControlPanelEnclosureElement> m_enclosure; |
Timer<MediaControls> m_hideMediaControlsTimer; |
+ unsigned m_hideTimerBehaviorFlags; |
bool m_isMouseOverControls : 1; |
bool m_isPausedForScrubbing : 1; |
- bool m_wasLastEventTouch : 1; |
}; |
DEFINE_ELEMENT_TYPE_CASTS(MediaControls, isMediaControls()); |