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

Unified Diff: chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm

Issue 10700071: browser: Remove fullscreen functions and have callers call FullscreenController directly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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/cocoa/fullscreen_exit_bubble_controller.mm
diff --git a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm b/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
index 5d38d73a984ecc567e36f49c8c92c60181b9d666..96ef5d2e30a69d948dc405dacee4c975338dc7cf 100644
--- a/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller.mm
@@ -95,13 +95,13 @@ const float kHideDuration = 0.7;
[[self window] setIgnoresMouseEvents:YES];
DCHECK(fullscreen_bubble::ShowButtonsForType(bubbleType_));
- browser_->OnAcceptFullscreenPermission(
+ browser_->fullscreen_controller()->OnAcceptFullscreenPermission(
url_, bubbleType_);
}
- (void)deny:(id)sender {
DCHECK(fullscreen_bubble::ShowButtonsForType(bubbleType_));
- browser_->OnDenyFullscreenPermission(bubbleType_);
+ browser_->fullscreen_controller()->OnDenyFullscreenPermission(bubbleType_);
}
- (void)showButtons:(BOOL)show {

Powered by Google App Engine
This is Rietveld 408576698