mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
WasResized -> SynchronizeVisualProperties
This commit is contained in:
committed by
Aleksei Kuzmin
parent
5d9ba8b821
commit
faf57683ce
@@ -276,7 +276,7 @@ void CommonWebContentsDelegate::EnterFullscreenModeForTab(
|
||||
return;
|
||||
SetHtmlApiFullscreen(true);
|
||||
owner_window_->NotifyWindowEnterHtmlFullScreen();
|
||||
source->GetRenderViewHost()->GetWidget()->WasResized();
|
||||
source->GetRenderViewHost()->GetWidget()->SynchronizeVisualProperties();
|
||||
}
|
||||
|
||||
void CommonWebContentsDelegate::ExitFullscreenModeForTab(
|
||||
@@ -285,7 +285,7 @@ void CommonWebContentsDelegate::ExitFullscreenModeForTab(
|
||||
return;
|
||||
SetHtmlApiFullscreen(false);
|
||||
owner_window_->NotifyWindowLeaveHtmlFullScreen();
|
||||
source->GetRenderViewHost()->GetWidget()->WasResized();
|
||||
source->GetRenderViewHost()->GetWidget()->SynchronizeVisualProperties();
|
||||
}
|
||||
|
||||
bool CommonWebContentsDelegate::IsFullscreenForTabOrPending(
|
||||
|
||||
Reference in New Issue
Block a user