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

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: Valgrind error fix, merge to 130358 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
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 19eff086f996188cdd436aabd7d901461081d730..8d04862ebc9a55f0439384262977110f6a1720f8 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -497,8 +497,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
@@ -4219,7 +4223,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);
}
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698