| Index: ui/base/layout.cc
|
| diff --git a/ui/base/layout.cc b/ui/base/layout.cc
|
| index 9e6be4031874c0ab3fb129ee163db44c26dfe73f..36614fa825b3f2bb5dab8c7e7e70c6277d01e008 100644
|
| --- a/ui/base/layout.cc
|
| +++ b/ui/base/layout.cc
|
| @@ -41,11 +41,10 @@ bool UseTouchOptimizedUI() {
|
| }
|
| }
|
|
|
| -#if defined(ENABLE_METRO)
|
| +#if defined(OS_WIN)
|
| + // On Windows, we use the touch layout only when we are running in
|
| + // Metro mode.
|
| return base::win::GetMetroModule() != NULL;
|
| -#elif defined(OS_WIN)
|
| - // No touch support on Win outside Metro yet (even with Aura).
|
| - return false;
|
| #elif defined(USE_AURA) && defined(USE_X11)
|
| // Determine whether touch-screen hardware is currently available.
|
| // For now we assume this won't change over the life of the process, but
|
|
|