summaryrefslogtreecommitdiffstats
path: root/chrome/browser/fullscreen_chromeos.cc
blob: 75639305f8b69a6b99b70e66a36a0b9e560c1339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/fullscreen.h"

#include "ash/root_window_controller.h"

bool IsFullScreenMode() {
#if defined(USE_ATHENA)
  // crbug.com/408755
  return false;
#endif
  // TODO(oshima): Fullscreen is per display state. Investigate
  // and fix if necessary.
  ash::RootWindowController* controller =
      ash::RootWindowController::ForTargetRootWindow();
  return controller && controller->GetWindowForFullscreenMode();
}