Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5645)

Unified Diff: chrome/browser/ui/browser.cc

Issue 9702055: Automated tests for full screen & mouse lock M16 features (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: FileURL & BrowserTest compilation fixes Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}

Powered by Google App Engine
This is Rietveld 408576698