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

Unified Diff: chrome/browser/ui/browser.h

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/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 86d53e30ad0636a0a17d1942cac2fbb8ef69a47d..f1c3f76745da09df64ae3292876a4a2cc3982d85 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -30,7 +30,6 @@
#include "chrome/browser/ui/bookmarks/bookmark_tab_helper_delegate.h"
#include "chrome/browser/ui/browser_navigator.h"
#include "chrome/browser/ui/constrained_window_tab_helper_delegate.h"
-#include "chrome/browser/ui/fullscreen/fullscreen_exit_bubble_type.h"
#include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h"
#include "chrome/browser/ui/select_file_dialog.h"
#include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h"
@@ -504,12 +503,6 @@ class Browser : public TabStripModelDelegate,
virtual void HandleKeyboardEvent(
const content::NativeWebKeyboardEvent& event) OVERRIDE;
- // Fullscreen permission infobar callbacks.
- // TODO(koz): Remove this and have callers call FullscreenController directly.
- void OnAcceptFullscreenPermission(const GURL& url,
- FullscreenExitBubbleType bubble_type);
- void OnDenyFullscreenPermission(FullscreenExitBubbleType bubble_type);
-
// Figure out if there are tabs that have beforeunload handlers.
bool TabsNeedBeforeUnloadFired();
@@ -536,6 +529,10 @@ class Browser : public TabStripModelDelegate,
pending_web_app_action_ = action;
}
+ FullscreenController* fullscreen_controller() {
+ return fullscreen_controller_.get();
+ }
+
ExtensionWindowController* extension_window_controller() const {
return extension_window_controller_.get();
}

Powered by Google App Engine
This is Rietveld 408576698