Chromium Code Reviews| Index: chrome/browser/fullscreen_ozone.cc |
| diff --git a/chrome/browser/fullscreen_ozone.cc b/chrome/browser/fullscreen_ozone.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ad6b84e2373a2eeeb38002df42e6c44286532837 |
| --- /dev/null |
| +++ b/chrome/browser/fullscreen_ozone.cc |
| @@ -0,0 +1,18 @@ |
| +// 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" |
| + |
| +#include "services/service_manager/runner/common/client_util.h" |
| + |
| +bool IsFullScreenMode() { |
| + if (service_manager::ServiceManagerIsRemote()) { |
| + // TODO: http://crbug.com/640390. |
| + NOTIMPLEMENTED(); |
| + return false; |
| + } |
| + |
| + NOTREACHED() << "For Ozone builds, only --mash launch is supported for now."; |
|
rjkroege
2016/11/07 20:07:59
It's conceivable that we never want anything else
|
| + return false; |
| +} |