| Index: win8/util/win8_util.cc
|
| diff --git a/win8/util/win8_util.cc b/win8/util/win8_util.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c22821504cbea554ae605e1bcbc56d761ed21aa1
|
| --- /dev/null
|
| +++ b/win8/util/win8_util.cc
|
| @@ -0,0 +1,19 @@
|
| +// Copyright (c) 2012 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 "win8/util/win8_util.h"
|
| +
|
| +#include "base/win/metro.h"
|
| +
|
| +namespace win8 {
|
| +
|
| +bool IsSingleWindowMetroMode() {
|
| +#if defined(USE_ASH)
|
| + return false;
|
| +#else
|
| + return base::win::IsMetroProcess();
|
| +#endif
|
| +}
|
| +
|
| +} // namespace win8
|
|
|