Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1655)

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc

Issue 1581473002: Remove base/win/metro.{cc|h} and some associated code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc b/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc
index 743c4d1657df11c6cf8c45d02804d716aac9c6ea..b2ff1d486e4ef262eb98c155e96f475fb7b312fc 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.cc
@@ -4,7 +4,6 @@
#include "chrome/browser/ui/views/app_list/win/app_list_controller_delegate_win.h"
-#include "chrome/browser/metro_utils/metro_chrome_win.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/app_list/app_list_icon_win.h"
#include "chrome/browser/ui/extensions/application_launch.h"
@@ -31,14 +30,4 @@ gfx::ImageSkia AppListControllerDelegateWin::GetWindowIcon() {
void AppListControllerDelegateWin::FillLaunchParams(AppLaunchParams* params) {
params->desktop_type = chrome::HOST_DESKTOP_TYPE_NATIVE;
- extensions::AppWindow* any_existing_window =
- extensions::AppWindowRegistry::Get(params->profile)
- ->GetCurrentAppWindowForApp(params->extension_id);
- if (any_existing_window &&
- chrome::GetHostDesktopTypeForNativeWindow(
- any_existing_window->GetNativeWindow())
- != chrome::HOST_DESKTOP_TYPE_NATIVE) {
- params->desktop_type = chrome::HOST_DESKTOP_TYPE_ASH;
- chrome::ActivateMetroChrome();
- }
}

Powered by Google App Engine
This is Rietveld 408576698