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

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

Issue 7740044: Implement fullscreen info bubble on Win and Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win work Created 9 years, 2 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 f93e3cd6c9ffe2907a2088f669390ff560be90cb..89975a0141bb2fe4c6fdf6c952ff622596e0f0ca 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -38,6 +38,7 @@
#include "chrome/browser/ui/shell_dialogs.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper_delegate.h"
#include "chrome/browser/ui/toolbar/toolbar_model.h"
+#include "chrome/common/content_settings.h"
#include "chrome/common/content_settings_types.h"
#include "chrome/common/extensions/extension_constants.h"
#include "content/browser/tab_contents/page_navigator.h"
@@ -513,9 +514,9 @@ class Browser : public TabHandlerDelegate,
void WriteCurrentURLToClipboard();
void ConvertPopupToTabbedBrowser();
// In kiosk mode, the first toggle is valid, the rest is discarded.
- void ToggleFullscreenMode();
+ void ToggleFullscreenMode(bool from_tab);
#if defined(OS_MACOSX)
- void TogglePresentationMode();
+ void TogglePresentationMode(bool from_tab);
#endif
void Exit();
#if defined(OS_CHROMEOS)
@@ -821,6 +822,11 @@ class Browser : public TabHandlerDelegate,
virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index);
virtual void TabStripEmpty();
+ // Fullscreen permission infobar callbacks.
+ void OnAcceptFullscreenPermission(const GURL& url);
+ void OnDenyFullscreenPermission();
+ ContentSetting GetFullscreenSetting(const GURL& url);
+
// Figure out if there are tabs that have beforeunload handlers.
bool TabsNeedBeforeUnloadFired();

Powered by Google App Engine
This is Rietveld 408576698