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

Unified Diff: chrome/browser/ui/webui/options/browser_options_handler.cc

Issue 668773002: [Win] The new profiles UI: now at an immersive mode near you (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « chrome/browser/ui/views/profiles/new_avatar_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index b8cf8c189fb42dcd109f0ea946ab1fb7d71f5698..77a0140d03608ef14f38b14d1132ebd0f089d6a0 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -1039,7 +1039,9 @@ bool BrowserOptionsHandler::ShouldShowMultiProfilesUserList() {
// On Chrome OS we use different UI for multi-profiles.
return false;
#else
- if (helper::GetDesktopType(web_ui()) != chrome::HOST_DESKTOP_TYPE_NATIVE)
+ chrome::HostDesktopType desktop_type = helper::GetDesktopType(web_ui());
+ if (desktop_type != chrome::HOST_DESKTOP_TYPE_NATIVE &&
+ desktop_type != chrome::HOST_DESKTOP_TYPE_ASH)
Dan Beam 2014/10/21 17:38:54 curlies
noms (inactive) 2014/10/21 18:49:59 Done.
return false;
Profile* profile = Profile::FromWebUI(web_ui());
if (profile->IsGuestSession())
« no previous file with comments | « chrome/browser/ui/views/profiles/new_avatar_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698