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

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

Issue 12089068: Revert 179554 - suspected to break browser_tests on Mac 10.6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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/fullscreen/fullscreen_controller.h
===================================================================
--- chrome/browser/ui/fullscreen/fullscreen_controller.h (revision 179614)
+++ chrome/browser/ui/fullscreen/fullscreen_controller.h (working copy)
@@ -74,7 +74,7 @@
#endif
#if defined(OS_MACOSX)
- void ToggleFullscreenWithChrome();
+ void TogglePresentationMode();
#endif
// Mouse Lock ////////////////////////////////////////////////////////////////
@@ -130,14 +130,6 @@
MOUSELOCK_ACCEPTED_SILENTLY
};
- enum FullscreenInternalOption {
- BROWSER,
-#if defined(OS_MACOSX)
- BROWSER_WITH_CHROME,
-#endif
- TAB
- };
-
void UpdateNotificationRegistrations();
// Posts a task to call NotifyFullscreenChange.
@@ -149,9 +141,11 @@
void NotifyTabOfExitIfNecessary();
void NotifyMouseLockChange();
- void ToggleFullscreenModeInternal(FullscreenInternalOption option);
- void EnterFullscreenModeInternal(FullscreenInternalOption option);
- void ExitFullscreenModeInternal();
+ // TODO(koz): Change |for_tab| to an enum.
+ void ToggleFullscreenModeInternal(bool for_tab);
+#if defined(OS_MACOSX)
+ void TogglePresentationModeInternal(bool for_tab);
+#endif
void SetFullscreenedTab(content::WebContents* tab);
void SetMouseLockTab(content::WebContents* tab);

Powered by Google App Engine
This is Rietveld 408576698