Index: chrome/browser/ui/fullscreen_controller.h |
diff --git a/chrome/browser/ui/fullscreen_controller.h b/chrome/browser/ui/fullscreen_controller.h |
index 9af0e7da935ed4fe2cafa61b70df2705773c05e8..9a54bf3793c7a3d4c57a4f5f8b808a4d1413e42f 100644 |
--- a/chrome/browser/ui/fullscreen_controller.h |
+++ b/chrome/browser/ui/fullscreen_controller.h |
@@ -41,9 +41,17 @@ 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; |
sky
2012/03/22 22:48:10
Add some whitespace between methods to make it mor
scheib
2012/03/26 23:30:46
Done.
|
+ // 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); |