| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 85df3df8965653a6d7d874baaca79ab1a2fbb375..8142d1ae02c94e55e43869194b558f1a85c7576f 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -489,8 +489,12 @@ Browser::~Browser() {
|
| TabRestoreServiceDestroyed(tab_restore_service_);
|
| }
|
|
|
| -bool Browser::IsFullscreenForTab() const {
|
| - return fullscreen_controller_->IsFullscreenForTab();
|
| +bool Browser::IsFullscreenForTabOrPending() const {
|
| + return fullscreen_controller_->IsFullscreenForTabOrPending();
|
| +}
|
| +
|
| +bool Browser::IsMouseLockedOrPending() const {
|
| + return fullscreen_controller_->IsMouseLockedOrPending();
|
| }
|
|
|
| // static
|
| @@ -4166,7 +4170,7 @@ void Browser::ToggleFullscreenModeForTab(WebContents* tab,
|
| fullscreen_controller_->ToggleFullscreenModeForTab(tab, enter_fullscreen);
|
| }
|
|
|
| -bool Browser::IsFullscreenForTab(const WebContents* tab) const {
|
| +bool Browser::IsFullscreenForTabOrPending(const WebContents* tab) const {
|
| return fullscreen_controller_->IsFullscreenForTabOrPending(tab);
|
| }
|
|
|
|
|