blob: 448fdc15c2e4796257e602ac3ba82d0934ed2626 [file] [log] [blame]
// 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() {
ash::internal::RootWindowController* controller =
ash::internal::RootWindowController::ForActiveRootWindow();
return controller && controller->GetTopmostFullscreenWindow();
}