mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Update browser_view.cc
This commit is contained in:
parent
a3ea5de4b7
commit
4665d013f8
1 changed files with 8 additions and 0 deletions
|
@ -1169,6 +1169,14 @@ bool BrowserView::GetIsPictureInPictureType() const {
|
|||
return browser_->is_type_picture_in_picture();
|
||||
}
|
||||
|
||||
float BrowserView::GetInitialAspectRatio() const {
|
||||
return browser_->create_params().initial_aspect_ratio;
|
||||
}
|
||||
|
||||
bool BrowserView::GetLockAspectRatio() const {
|
||||
return browser_->create_params().lock_aspect_ratio;
|
||||
}
|
||||
|
||||
bool BrowserView::GetTopControlsSlideBehaviorEnabled() const {
|
||||
return top_controls_slide_controller_ &&
|
||||
top_controls_slide_controller_->IsEnabled();
|
||||
|
|
Loading…
Reference in a new issue