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

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

Issue 2592443002: Media Controls: use events to enter/exit fullscreen. (Closed)
Patch Set: rebase Created 4 years 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: 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 2b520c58f1fb7feb9c5d0fc110986ee6f751af63..2d4fde72f16227aa6dcbc2fdedd3d75bc319f741 100644
--- a/third_party/WebKit/Source/core/html/shadow/MediaControls.h
+++ b/third_party/WebKit/Source/core/html/shadow/MediaControls.h
@@ -62,9 +62,6 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
void enterFullscreen();
void exitFullscreen();
- void enteredFullscreen();
- void exitedFullscreen();
-
void showOverlayCastButtonIfNeeded();
// Update cast button visibility, but don't try to update our panel
// button visibility for space.
@@ -171,6 +168,8 @@ class CORE_EXPORT MediaControls final : public HTMLDivElement {
void onTextTracksChanged();
void onError();
void onLoadedMetadata();
+ void onEnteredFullscreen();
+ void onExitedFullscreen();
// Internal cast related methods.
void startedCasting();

Powered by Google App Engine
This is Rietveld 408576698