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

Unified Diff: third_party/WebKit/Source/web/FullscreenController.h

Issue 2235473002: Notify WebMediaPlayer when HTML video enters full screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/web/FullscreenController.h
diff --git a/third_party/WebKit/Source/web/FullscreenController.h b/third_party/WebKit/Source/web/FullscreenController.h
index ab4990582800751dcee97ecdaf02fef7e15c6322..5cc5256ea390c20f877276f97ff39d0c8706127f 100644
--- a/third_party/WebKit/Source/web/FullscreenController.h
+++ b/third_party/WebKit/Source/web/FullscreenController.h
@@ -66,6 +66,10 @@ protected:
private:
void updatePageScaleConstraints(bool removeConstraints);
+ // Notify the current media element or all its child media elements when
+ // the |element| enters/exits full screen.
+ void updateMediaInFullscreen(Element*, bool isFullscreen);
+
WebViewImpl* m_webViewImpl;
bool m_haveEnteredFullscreen;

Powered by Google App Engine
This is Rietveld 408576698