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

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

Issue 836933005: Refactor fullscreen_controller. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to TOT 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/flash_fullscreen_interactive_browsertest.cc
diff --git a/chrome/browser/ui/exclusive_access/flash_fullscreen_interactive_browsertest.cc b/chrome/browser/ui/exclusive_access/flash_fullscreen_interactive_browsertest.cc
index 7102b0e0ce9f11f6cb006018c83e974bebfe68e6..ef37aa5c9d3803167ca1f90fe40d134f50a7efe3 100644
--- a/chrome/browser/ui/exclusive_access/flash_fullscreen_interactive_browsertest.cc
+++ b/chrome/browser/ui/exclusive_access/flash_fullscreen_interactive_browsertest.cc
@@ -147,8 +147,10 @@ class FlashFullscreenInteractiveBrowserTest : public OutOfProcessPPAPITest {
return false;
}
EXPECT_EQ(GetActiveWebContents()->GetCapturerCount() > 0,
- !browser()->fullscreen_controller()->
- IsWindowFullscreenForTabOrPending());
+ !browser()
+ ->exclusive_access_manager()
+ ->fullscreen_controller()
+ ->IsWindowFullscreenForTabOrPending());
}
return true;
@@ -187,8 +189,11 @@ class FlashFullscreenInteractiveBrowserTest : public OutOfProcessPPAPITest {
private:
bool IsObservingTabInFullscreen(content::WebContents* contents,
bool expected_in_fullscreen) const {
- return expected_in_fullscreen == browser()->fullscreen_controller()->
- IsFullscreenForTabOrPending(contents);
+ return expected_in_fullscreen ==
+ browser()
+ ->exclusive_access_manager()
+ ->fullscreen_controller()
+ ->IsFullscreenForTabOrPending(contents);
}
bool IsObservingFlashHasFocus(content::WebContents* contents,

Powered by Google App Engine
This is Rietveld 408576698