From e16f5705ab3c89b8a1cebbf4ba6afa42e1e7c04e Mon Sep 17 00:00:00 2001 From: "tapted@chromium.org" Date: Mon, 7 Apr 2014 09:55:25 +0000 Subject: Remove single-window-metro-mode code paths for the app launcher and apps. Chrome in Metro now has its own app launcher, and "SingleWindow" Metro mode is no more. This CL removes the dead code once required to tear Chrome out of metro mode in order to show the app launcher, or to launch packaged apps on the desktop. BUG=165383 Review URL: https://codereview.chromium.org/226283003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262101 0039d316-1c4b-4281-b951-d872f2087c98 --- apps/app_restore_service.cc | 8 -------- 1 file changed, 8 deletions(-) (limited to 'apps/app_restore_service.cc') diff --git a/apps/app_restore_service.cc b/apps/app_restore_service.cc index e92fd2c..b077266 100644 --- a/apps/app_restore_service.cc +++ b/apps/app_restore_service.cc @@ -18,10 +18,6 @@ #include "extensions/common/extension.h" #include "extensions/common/extension_set.h" -#if defined(OS_WIN) -#include "win8/util/win8_util.h" -#endif - using extensions::Extension; using extensions::ExtensionHost; using extensions::ExtensionPrefs; @@ -35,10 +31,6 @@ bool AppRestoreService::ShouldRestoreApps(bool is_browser_restart) { #if defined(OS_CHROMEOS) // Chromeos always restarts apps, even if it was a regular shutdown. should_restore_apps = true; -#elif defined(OS_WIN) - // Packaged apps are not supported in Metro mode, so don't try to start them. - if (win8::IsSingleWindowMetroMode()) - should_restore_apps = false; #endif return should_restore_apps; } -- cgit v1.1