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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2530883002: Refactor overlay fullscreen video handling into a single callback (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/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index 164db457e18362d13235c2c64e4c1da205937ec6..2c9b6bc98bed2ee440b5bf5df6cb41d6ffe494d2 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -253,6 +253,8 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
bool isFullscreen() const;
void enterFullscreen();
void exitFullscreen();
+ void didEnterFullscreen();
+ void didExitFullscreen();
virtual bool usesOverlayFullscreenVideo() const { return false; }
bool hasClosedCaptions() const;
@@ -351,8 +353,6 @@ class CORE_EXPORT HTMLMediaElement : public HTMLElement,
bool canStartSelection() const override { return false; }
- void didBecomeFullscreenElement() final;
- void willStopBeingFullscreenElement() final;
bool isInteractiveContent() const final;
// ActiveDOMObject functions.
« no previous file with comments | « third_party/WebKit/Source/core/dom/Fullscreen.cpp ('k') | third_party/WebKit/Source/core/html/HTMLMediaElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698