Commit bf6c0f61 authored by Dave Tapuska's avatar Dave Tapuska Committed by Commit Bot

Add back missing code for fullscreen change.

When fullscreen widget code was removed in crrev.com/406647a3 an
additional code path was accidentally removed. Add that code
path back in because it broken a callback that was necessary for
cast. It used it in the non-optimized fullscrene video for cast.

BUG=1144255

Change-Id: I6b3bdd2b20614a5995120434bd7d429119c0526d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2514076Reviewed-by: default avatarScott Violet <sky@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823526}
parent 5078c7a7
...@@ -319,6 +319,10 @@ void WebView::WebContentsDestroyed() { ...@@ -319,6 +319,10 @@ void WebView::WebContentsDestroyed() {
void WebView::DidToggleFullscreenModeForTab(bool entered_fullscreen, void WebView::DidToggleFullscreenModeForTab(bool entered_fullscreen,
bool will_cause_resize) { bool will_cause_resize) {
// Notify a bounds change on fullscreen change even though it actually
// doesn't change. Cast needs this see https://crbug.com/1144255.
OnBoundsChanged(bounds());
NotifyAccessibilityWebContentsChanged();
} }
void WebView::OnWebContentsFocused( void WebView::OnWebContentsFocused(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment