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

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

Issue 789533002: Fullscreen: make fullscreen requests come from RenderFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make try happy Created 5 years, 11 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/exclusive_access/fullscreen_controller_state_unittest.cc
diff --git a/chrome/browser/ui/exclusive_access/fullscreen_controller_state_unittest.cc b/chrome/browser/ui/exclusive_access/fullscreen_controller_state_unittest.cc
index 148affd69f1c3109cfc351967da76e636a8f0735..541a8b5c109ef57ec2e284f030b5538582f82348 100644
--- a/chrome/browser/ui/exclusive_access/fullscreen_controller_state_unittest.cc
+++ b/chrome/browser/ui/exclusive_access/fullscreen_controller_state_unittest.cc
@@ -640,7 +640,7 @@ TEST_F(FullscreenControllerStateUnitTest,
// Now, the first tab (backgrounded) exits fullscreen. This should not affect
// the second tab's fullscreen, nor the state of the browser window.
- GetFullscreenController()->ToggleFullscreenModeForTab(first_tab, false);
+ GetFullscreenController()->ExitFullscreenModeForTab(first_tab);
EXPECT_TRUE(browser()->window()->IsFullscreen());
EXPECT_FALSE(wc_delegate->IsFullscreenForTabOrPending(first_tab));
EXPECT_TRUE(wc_delegate->IsFullscreenForTabOrPending(second_tab));

Powered by Google App Engine
This is Rietveld 408576698