chore: implement WebContentsDelegate::GetFullscreenState
(#38141)
Refs 4255184
This commit is contained in:
parent
7f5364f98d
commit
ee1e6aab3e
2 changed files with 8 additions and 0 deletions
|
@ -3759,6 +3759,12 @@ bool WebContents::IsFullscreenForTabOrPending(
|
|||
return is_html_fullscreen() || (in_transition && is_html_transition);
|
||||
}
|
||||
|
||||
content::FullscreenState WebContents::GetFullscreenState(
|
||||
const content::WebContents* source) const {
|
||||
return exclusive_access_manager_->fullscreen_controller()->GetFullscreenState(
|
||||
source);
|
||||
}
|
||||
|
||||
bool WebContents::TakeFocus(content::WebContents* source, bool reverse) {
|
||||
if (source && source->GetOutermostWebContents() == source) {
|
||||
// If this is the outermost web contents and the user has tabbed or
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue