WasResized -> SynchronizeVisualProperties
This commit is contained in:
parent
5d9ba8b821
commit
faf57683ce
1 changed files with 2 additions and 2 deletions
|
@ -276,7 +276,7 @@ void CommonWebContentsDelegate::EnterFullscreenModeForTab(
|
||||||
return;
|
return;
|
||||||
SetHtmlApiFullscreen(true);
|
SetHtmlApiFullscreen(true);
|
||||||
owner_window_->NotifyWindowEnterHtmlFullScreen();
|
owner_window_->NotifyWindowEnterHtmlFullScreen();
|
||||||
source->GetRenderViewHost()->GetWidget()->WasResized();
|
source->GetRenderViewHost()->GetWidget()->SynchronizeVisualProperties();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CommonWebContentsDelegate::ExitFullscreenModeForTab(
|
void CommonWebContentsDelegate::ExitFullscreenModeForTab(
|
||||||
|
@ -285,7 +285,7 @@ void CommonWebContentsDelegate::ExitFullscreenModeForTab(
|
||||||
return;
|
return;
|
||||||
SetHtmlApiFullscreen(false);
|
SetHtmlApiFullscreen(false);
|
||||||
owner_window_->NotifyWindowLeaveHtmlFullScreen();
|
owner_window_->NotifyWindowLeaveHtmlFullScreen();
|
||||||
source->GetRenderViewHost()->GetWidget()->WasResized();
|
source->GetRenderViewHost()->GetWidget()->SynchronizeVisualProperties();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CommonWebContentsDelegate::IsFullscreenForTabOrPending(
|
bool CommonWebContentsDelegate::IsFullscreenForTabOrPending(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue