WebKit Roll 139512:139548
[chromium-blink-merge.git] / win8 / util / win8_util.h
blob25d6ec09a834a66c112670093c7d1299be2d014b
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WIN8_UTIL_WIN8_UTIL_H_
6 #define WIN8_UTIL_WIN8_UTIL_H_
8 namespace win8 {
10 // Returns true if this process is running in fullscreen Metro mode on Win8+.
11 // Callers should always prefer this method to base::win::IsMetroProcess() for
12 // UI properties dependent on the single window mode as this method is also
13 // aware of the Ash environment in which multiple Chrome windows can live.
14 bool IsSingleWindowMetroMode();
16 } // namespace win8
18 #endif // WIN8_UTIL_WIN8_UTIL_H_