Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / extensions / launch_util.cc
index d24f40e..765e5fc 100644 (file)
 #include "extensions/browser/pref_names.h"
 #include "extensions/common/extension.h"
 
-#if defined(OS_WIN)
-#include "win8/util/win8_util.h"
-#endif
-
 #if defined(USE_ASH)
 #include "ash/shell.h"
 #endif
@@ -69,12 +65,6 @@ LaunchType GetLaunchType(const ExtensionPrefs* prefs,
       result = LAUNCH_TYPE_REGULAR;
 #endif
 
-#if defined(OS_WIN)
-    // We don't support app windows in Windows 8 single window Metro mode.
-    if (win8::IsSingleWindowMetroMode() && result == LAUNCH_TYPE_WINDOW)
-      result = LAUNCH_TYPE_REGULAR;
-#endif  // OS_WIN
-
   return result;
 }