| Index: chrome/browser/ui/fullscreen_controller.cc
|
| diff --git a/chrome/browser/ui/fullscreen_controller.cc b/chrome/browser/ui/fullscreen_controller.cc
|
| index 72c3ec212ef87632cae726a76b858cafbc3ffd44..b87532864a24622f99ea67f8d293d9fec6f61530 100644
|
| --- a/chrome/browser/ui/fullscreen_controller.cc
|
| +++ b/chrome/browser/ui/fullscreen_controller.cc
|
| @@ -58,6 +58,12 @@ bool FullscreenController::IsFullscreenForTabOrPending(
|
| return true;
|
| }
|
|
|
| +#if defined(OS_WIN)
|
| +bool FullscreenController::IsInMetroSnapMode() {
|
| + return window_->IsInMetroSnapMode();
|
| +}
|
| +#endif
|
| +
|
| bool FullscreenController::IsMouseLockRequested() const {
|
| return mouse_lock_state_ == MOUSELOCK_REQUESTED;
|
| }
|
| @@ -170,6 +176,12 @@ void FullscreenController::ToggleFullscreenModeForTab(WebContents* web_contents,
|
| }
|
| }
|
|
|
| +#if defined(OS_WIN)
|
| +void FullscreenController::SetMetroSnapMode(bool enable) {
|
| + window_->SetMetroSnapMode(enable);
|
| +}
|
| +#endif
|
| +
|
| #if defined(OS_MACOSX)
|
| void FullscreenController::TogglePresentationMode() {
|
| TogglePresentationModeInternal(false);
|
|
|