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

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

Issue 789403002: Rename fullscreen_exit_bubble_* to exclusive_access_bubble_* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated based on CR comments Created 6 years 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/fullscreen/fullscreen_controller_state_unittest.cc
diff --git a/chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc b/chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc
index 6738a8b796f28e52c158472bde67c482216a08e5..f28fabd07b069db472de8366d278ec6dbe4b6baa 100644
--- a/chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc
+++ b/chrome/browser/ui/fullscreen/fullscreen_controller_state_unittest.cc
@@ -40,7 +40,7 @@ class FullscreenControllerTestWindow : public TestBrowserWindow {
// BrowserWindow Interface:
void EnterFullscreen(const GURL& url,
- FullscreenExitBubbleType type,
+ ExclusiveAccessBubbleType type,
bool with_toolbar) override;
void ExitFullscreen() override;
bool ShouldHideUIForFullscreen() const override;
@@ -81,7 +81,7 @@ FullscreenControllerTestWindow::FullscreenControllerTestWindow()
void FullscreenControllerTestWindow::EnterFullscreen(
const GURL& url,
- FullscreenExitBubbleType type,
+ ExclusiveAccessBubbleType type,
bool with_toolbar) {
EnterFullscreen(with_toolbar);
}
@@ -427,8 +427,8 @@ TEST_F(FullscreenControllerStateUnitTest, ExitFullscreenViaBrowserWindow) {
// Exit fullscreen without going through fullscreen controller.
browser()->window()->ExitFullscreen();
ChangeWindowFullscreenState();
- EXPECT_EQ(FEB_TYPE_NONE,
- browser()->fullscreen_controller()->GetFullscreenExitBubbleType());
+ EXPECT_EQ(EXCLUSIVE_ACCESS_BUBBLE_TYPE_NONE,
+ browser()->fullscreen_controller()->GetExclusiveAccessBubbleType());
}
// Test that switching tabs takes the browser out of tab fullscreen.
« no previous file with comments | « chrome/browser/ui/fullscreen/fullscreen_controller.cc ('k') | chrome/browser/ui/fullscreen/fullscreen_controller_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698