| Index: chrome/browser/ui/fullscreen_controller.h
|
| diff --git a/chrome/browser/ui/fullscreen_controller.h b/chrome/browser/ui/fullscreen_controller.h
|
| index e3bc44604a4a246e27e620154e9a52d484be567d..9284c19a545faf7e993bdfec8014dd101a109163 100644
|
| --- a/chrome/browser/ui/fullscreen_controller.h
|
| +++ b/chrome/browser/ui/fullscreen_controller.h
|
| @@ -40,10 +40,21 @@ class FullscreenController : public base::RefCounted<FullscreenController> {
|
| virtual ~FullscreenController();
|
|
|
| // Querying.
|
| - bool IsFullscreenForTab() const;
|
| - bool IsFullscreenForTab(const content::WebContents* tab) const;
|
| +
|
| + // Returns true if the window is currently fullscreen and was initially
|
| + // transitioned to fullscreen by a browser (vs tab) mode transition.
|
| + bool IsFullscreenForBrowser() const;
|
| +
|
| + // Returns true if fullscreen has been caused by a tab.
|
| + // The window may still be transitioning, and window_->IsFullscreen()
|
| + // may still return false.
|
| + bool IsFullscreenForTabOrPending() const;
|
| bool IsFullscreenForTabOrPending(const content::WebContents* tab) const;
|
|
|
| + // Returns true if the mouse has been locked or a lock request is pending
|
| + // user confirmation.
|
| + bool IsMouseLockedOrPending() const;
|
| +
|
| // Requests.
|
| void RequestToLockMouse(content::WebContents* tab);
|
| void ToggleFullscreenModeForTab(content::WebContents* tab,
|
|
|