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

Unified Diff: chrome/browser/profiles/avatar_menu_model.cc

Issue 23583037: Added hit test for ChromeOS avatar when visible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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/profiles/avatar_menu_model.cc
diff --git a/chrome/browser/profiles/avatar_menu_model.cc b/chrome/browser/profiles/avatar_menu_model.cc
index 99f9d89a2cc87c2e0628a13ba585e73abe7c8b76..fb47af926e11a476a24a54843912ff75da805406 100644
--- a/chrome/browser/profiles/avatar_menu_model.cc
+++ b/chrome/browser/profiles/avatar_menu_model.cc
@@ -272,11 +272,6 @@ void AvatarMenuModel::Observe(int type,
// static
bool AvatarMenuModel::ShouldShowAvatarMenu() {
-#if defined(OS_CHROMEOS)
- // On Chrome OS we use different UI for multi-profiles.
- return false;
-#endif
-
if (base::FieldTrialList::FindFullName(kShowProfileSwitcherFieldTrialName) ==
kAlwaysShowSwitcherGroupName) {
// We should only be in this group when multi-profiles is enabled.

Powered by Google App Engine
This is Rietveld 408576698