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

Unified Diff: content/browser/tab_contents/tab_contents.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: content/browser/tab_contents/tab_contents.cc
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index bbb77d070b3226768607f8534469700b1bf68a24..16c6d63fd1d2707807d33651bd0f4aa0123c30f0 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -980,7 +980,7 @@ void TabContents::ToggleFullscreenMode(bool enter_fullscreen) {
}
bool TabContents::IsFullscreenForCurrentTab() const {
- return delegate_ ? delegate_->IsFullscreenForTab(this) : false;
+ return delegate_ ? delegate_->IsFullscreenForTabOrPending(this) : false;
}
void TabContents::RequestToLockMouse() {

Powered by Google App Engine
This is Rietveld 408576698