fullscreen_ozone.cc 505 Bytes
Newer Older
1 2 3 4 5 6
// Copyright 2016 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"

7
#include "ui/aura/env.h"
8

Tom Anderson's avatar
Tom Anderson committed
9
bool IsFullScreenMode() {
10
  if (aura::Env::GetInstance()->mode() == aura::Env::Mode::MUS) {
11 12 13 14 15 16 17 18
    // TODO: http://crbug.com/640390.
    NOTIMPLEMENTED();
    return false;
  }

  NOTREACHED() << "For Ozone builds, only --mash launch is supported for now.";
  return false;
}