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

Unified Diff: chrome/browser/metro_utils/metro_chrome_win.cc

Issue 909183002: win/aura: Remove some more non-aura code for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 10 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/metro_utils/metro_chrome_win.cc
diff --git a/chrome/browser/metro_utils/metro_chrome_win.cc b/chrome/browser/metro_utils/metro_chrome_win.cc
index 96e84acd745373b5c2d1c29275f397d953294891..2bab9e17dd3e87dde7f16e06c6fe4f3954a1b1fb 100644
--- a/chrome/browser/metro_utils/metro_chrome_win.cc
+++ b/chrome/browser/metro_utils/metro_chrome_win.cc
@@ -62,17 +62,10 @@ bool ActivateMetroChrome() {
}
Win8Environment GetWin8Environment(HostDesktopType desktop) {
-#if defined(USE_AURA) && defined(USE_ASH)
if (desktop == chrome::HOST_DESKTOP_TYPE_ASH)
return WIN_8_ENVIRONMENT_METRO_AURA;
else
return WIN_8_ENVIRONMENT_DESKTOP_AURA;
-#else
- if (base::win::IsProcessImmersive(::GetCurrentProcess()))
- return WIN_8_ENVIRONMENT_METRO;
- else
- return WIN_8_ENVIRONMENT_DESKTOP;
-#endif
}
« no previous file with comments | « chrome/browser/metro_utils/metro_chrome_win.h ('k') | chrome/browser/password_manager/password_manager_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698