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

Unified Diff: third_party/WebKit/Source/web/ChromeClientImpl.cpp

Issue 2530883002: Refactor overlay fullscreen video handling into a single callback (Closed)
Patch Set: documentation Created 4 years, 1 month 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/ChromeClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/ChromeClientImpl.cpp b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
index 0f7c13ce31c6d9ec55bb9c349e962872f7c94247..373e6d342b32af1fb2d2b6b32e373f37f38ccd93 100644
--- a/third_party/WebKit/Source/web/ChromeClientImpl.cpp
+++ b/third_party/WebKit/Source/web/ChromeClientImpl.cpp
@@ -859,6 +859,11 @@ void ChromeClientImpl::exitFullscreen(LocalFrame* frame) {
m_webView->exitFullscreen(frame);
}
+void ChromeClientImpl::fullscreenElementChanged(Element* fromElement,
+ Element* toElement) {
+ m_webView->fullscreenElementChanged(fromElement, toElement);
+}
+
void ChromeClientImpl::clearCompositedSelection(LocalFrame* frame) {
LocalFrame* localRoot = frame->localFrameRoot();
auto client =

Powered by Google App Engine
This is Rietveld 408576698