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

Side by Side Diff: third_party/WebKit/Source/core/html/media/MediaControls.h

Issue 2757323002: Prevent Media Controls from hiding when the user is interacting via the keyboard (Closed)
Patch Set: rebase Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MediaControls_h 5 #ifndef MediaControls_h
6 #define MediaControls_h 6 #define MediaControls_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "platform/heap/Visitor.h" 10 #include "platform/heap/Visitor.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual void onDurationChange() = 0; 86 virtual void onDurationChange() = 0;
87 virtual void onPlay() = 0; 87 virtual void onPlay() = 0;
88 virtual void onPlaying() = 0; 88 virtual void onPlaying() = 0;
89 virtual void onPause() = 0; 89 virtual void onPause() = 0;
90 virtual void onTextTracksAddedOrRemoved() = 0; 90 virtual void onTextTracksAddedOrRemoved() = 0;
91 virtual void onTextTracksChanged() = 0; 91 virtual void onTextTracksChanged() = 0;
92 virtual void onError() = 0; 92 virtual void onError() = 0;
93 virtual void onLoadedMetadata() = 0; 93 virtual void onLoadedMetadata() = 0;
94 virtual void onEnteredFullscreen() = 0; 94 virtual void onEnteredFullscreen() = 0;
95 virtual void onExitedFullscreen() = 0; 95 virtual void onExitedFullscreen() = 0;
96 virtual void onPanelKeypress() = 0;
96 virtual void beginScrubbing() = 0; 97 virtual void beginScrubbing() = 0;
97 virtual void endScrubbing() = 0; 98 virtual void endScrubbing() = 0;
98 virtual void updateCurrentTimeDisplay() = 0; 99 virtual void updateCurrentTimeDisplay() = 0;
99 virtual void toggleTextTrackList() = 0; 100 virtual void toggleTextTrackList() = 0;
100 virtual void showTextTrackAtIndex(unsigned indexToEnable) = 0; 101 virtual void showTextTrackAtIndex(unsigned indexToEnable) = 0;
101 virtual void disableShowingTextTracks() = 0; 102 virtual void disableShowingTextTracks() = 0;
102 virtual void enterFullscreen() = 0; 103 virtual void enterFullscreen() = 0;
103 virtual void exitFullscreen() = 0; 104 virtual void exitFullscreen() = 0;
104 virtual void showOverlayCastButtonIfNeeded() = 0; 105 virtual void showOverlayCastButtonIfNeeded() = 0;
105 virtual void toggleOverflowMenu() = 0; 106 virtual void toggleOverflowMenu() = 0;
106 virtual bool overflowMenuVisible() = 0; 107 virtual bool overflowMenuVisible() = 0;
107 virtual void onMediaControlsEnabledChange() = 0; 108 virtual void onMediaControlsEnabledChange() = 0;
108 109
109 DECLARE_VIRTUAL_TRACE(); 110 DECLARE_VIRTUAL_TRACE();
110 111
111 private: 112 private:
112 Member<HTMLMediaElement> m_mediaElement; 113 Member<HTMLMediaElement> m_mediaElement;
113 }; 114 };
114 115
115 } // namespace blink 116 } // namespace blink
116 117
117 #endif // MediaControls_h 118 #endif // MediaControls_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698