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. 4 5 #ifndef WIN8_UTIL_WIN8_UTIL_H_ 6 #define WIN8_UTIL_WIN8_UTIL_H_ 7 8 namespace win8 { 9 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(); 15 16 } // namespace win8 17 18 #endif // WIN8_UTIL_WIN8_UTIL_H_ 19