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

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

Issue 2004353002: Delete unused code for exclusive access permission prompting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fullscreen-mac-remove-window-controller
Patch Set: Remove changes to content settings UI (spun out to CL 2045163002). Created 4 years, 6 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_test.cc
diff --git a/chrome/browser/ui/exclusive_access/fullscreen_controller_test.cc b/chrome/browser/ui/exclusive_access/fullscreen_controller_test.cc
index edc6c0b8c503d1e40ab0ccd41c0046e87f7caa89..362c1ab34d51d14a1b4842245be387e8dbde80d9 100644
--- a/chrome/browser/ui/exclusive_access/fullscreen_controller_test.cc
+++ b/chrome/browser/ui/exclusive_access/fullscreen_controller_test.cc
@@ -59,20 +59,6 @@ bool FullscreenControllerTest::IsWindowFullscreenForTabOrPending() {
return GetFullscreenController()->IsWindowFullscreenForTabOrPending();
}
-bool FullscreenControllerTest::IsMouseLockPermissionRequested() {
- ExclusiveAccessBubbleType type = GetExclusiveAccessBubbleType();
- bool mouse_lock = false;
- exclusive_access_bubble::PermissionRequestedByType(type, NULL, &mouse_lock);
- return mouse_lock;
-}
-
-bool FullscreenControllerTest::IsFullscreenPermissionRequested() {
- ExclusiveAccessBubbleType type = GetExclusiveAccessBubbleType();
- bool fullscreen = false;
- exclusive_access_bubble::PermissionRequestedByType(type, &fullscreen, NULL);
- return fullscreen;
-}
-
ExclusiveAccessBubbleType
FullscreenControllerTest::GetExclusiveAccessBubbleType() {
return GetExclusiveAccessManager()->GetExclusiveAccessExitBubbleType();
@@ -82,19 +68,6 @@ bool FullscreenControllerTest::IsFullscreenBubbleDisplayed() {
return GetExclusiveAccessBubbleType() != EXCLUSIVE_ACCESS_BUBBLE_TYPE_NONE;
}
-bool FullscreenControllerTest::IsFullscreenBubbleDisplayingButtons() {
- return exclusive_access_bubble::ShowButtonsForType(
- GetExclusiveAccessBubbleType());
-}
-
-void FullscreenControllerTest::AcceptCurrentFullscreenOrMouseLockRequest() {
- GetExclusiveAccessManager()->OnAcceptExclusiveAccessPermission();
-}
-
-void FullscreenControllerTest::DenyCurrentFullscreenOrMouseLockRequest() {
- GetExclusiveAccessManager()->OnDenyExclusiveAccessPermission();
-}
-
void FullscreenControllerTest::GoBack() {
content::TestNavigationObserver observer(
browser()->tab_strip_model()->GetActiveWebContents(), 1);

Powered by Google App Engine
This is Rietveld 408576698