diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-20 22:29:10 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-20 22:29:10 +0000 |
commit | 8ee065422af7e53091a8bc7a98e6d4c0cd4ff9b8 (patch) | |
tree | 41e50a5122cb5e294d598fd0143269ced75f907c /win8 | |
parent | 899487fdde6741f2b380986cef34140bb48621fd (diff) | |
download | chromium_src-8ee065422af7e53091a8bc7a98e6d4c0cd4ff9b8.zip chromium_src-8ee065422af7e53091a8bc7a98e6d4c0cd4ff9b8.tar.gz chromium_src-8ee065422af7e53091a8bc7a98e6d4c0cd4ff9b8.tar.bz2 |
Removes win8_util
IsSingleWindowMetroMode is always false not that we only use ash.
BUG=none
TEST=none
R=ananta@chromium.org
Review URL: https://codereview.chromium.org/243703003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8')
-rw-r--r-- | win8/util/win8_util.cc | 19 | ||||
-rw-r--r-- | win8/util/win8_util.h | 18 | ||||
-rw-r--r-- | win8/win8.gyp | 11 |
3 files changed, 0 insertions, 48 deletions
diff --git a/win8/util/win8_util.cc b/win8/util/win8_util.cc deleted file mode 100644 index b630b8f..0000000 --- a/win8/util/win8_util.cc +++ /dev/null @@ -1,19 +0,0 @@ -// 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 diff --git a/win8/util/win8_util.h b/win8/util/win8_util.h deleted file mode 100644 index 25d6ec0..0000000 --- a/win8/util/win8_util.h +++ /dev/null @@ -1,18 +0,0 @@ -// 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. - -#ifndef WIN8_UTIL_WIN8_UTIL_H_ -#define WIN8_UTIL_WIN8_UTIL_H_ - -namespace win8 { - -// Returns true if this process is running in fullscreen Metro mode on Win8+. -// Callers should always prefer this method to base::win::IsMetroProcess() for -// UI properties dependent on the single window mode as this method is also -// aware of the Ash environment in which multiple Chrome windows can live. -bool IsSingleWindowMetroMode(); - -} // namespace win8 - -#endif // WIN8_UTIL_WIN8_UTIL_H_ diff --git a/win8/win8.gyp b/win8/win8.gyp index a20509c..e4f45c2 100644 --- a/win8/win8.gyp +++ b/win8/win8.gyp @@ -10,17 +10,6 @@ ], 'targets': [ { - 'target_name': 'win8_util', - 'type': 'static_library', - 'dependencies': [ - '../base/base.gyp:base', - ], - 'sources': [ - 'util/win8_util.cc', - 'util/win8_util.h', - ], - }, - { 'target_name': 'metro_viewer_constants', 'type': 'static_library', 'include_dirs': [ |