Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1178)

Unified Diff: Source/core/html/shadow/MediaControls.h

Issue 892963003: Ensure media control goes to transparent(hide) after seek by touch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..57d7ac231fa956cb9b6a4de51383f801bfbadefb 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
@@ -134,6 +135,7 @@ private:
RawPtrWillBeMember<MediaControlPanelEnclosureElement> m_enclosure;
Timer<MediaControls> m_hideMediaControlsTimer;
+ unsigned m_hideTimerBehaviorFlags;
bool m_isMouseOverControls : 1;
bool m_isPausedForScrubbing : 1;
bool m_wasLastEventTouch : 1;
« no previous file with comments | « LayoutTests/media/video-controls-auto-hide-after-play-by-touch-expected.txt ('k') | Source/core/html/shadow/MediaControls.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698