| Index: chrome/browser/ui/fullscreen/fullscreen_controller.h
|
| ===================================================================
|
| --- chrome/browser/ui/fullscreen/fullscreen_controller.h (revision 179625)
|
| +++ chrome/browser/ui/fullscreen/fullscreen_controller.h (working copy)
|
| @@ -74,7 +74,7 @@
|
| #endif
|
|
|
| #if defined(OS_MACOSX)
|
| - void TogglePresentationMode();
|
| + void ToggleFullscreenWithChrome();
|
| #endif
|
|
|
| // Mouse Lock ////////////////////////////////////////////////////////////////
|
| @@ -130,6 +130,14 @@
|
| MOUSELOCK_ACCEPTED_SILENTLY
|
| };
|
|
|
| + enum FullscreenInternalOption {
|
| + BROWSER,
|
| +#if defined(OS_MACOSX)
|
| + BROWSER_WITH_CHROME,
|
| +#endif
|
| + TAB
|
| + };
|
| +
|
| void UpdateNotificationRegistrations();
|
|
|
| // Posts a task to call NotifyFullscreenChange.
|
| @@ -141,11 +149,9 @@
|
| void NotifyTabOfExitIfNecessary();
|
| void NotifyMouseLockChange();
|
|
|
| - // TODO(koz): Change |for_tab| to an enum.
|
| - void ToggleFullscreenModeInternal(bool for_tab);
|
| -#if defined(OS_MACOSX)
|
| - void TogglePresentationModeInternal(bool for_tab);
|
| -#endif
|
| + void ToggleFullscreenModeInternal(FullscreenInternalOption option);
|
| + void EnterFullscreenModeInternal(FullscreenInternalOption option);
|
| + void ExitFullscreenModeInternal();
|
| void SetFullscreenedTab(content::WebContents* tab);
|
| void SetMouseLockTab(content::WebContents* tab);
|
|
|
|
|