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

Unified Diff: chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm

Issue 297803007: Move profile_chooser enums to a constant place for mac and win. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cocoa nit Created 6 years, 7 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/cocoa/profiles/avatar_base_controller.mm
diff --git a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
index f25ad9895cb73450af728cf45e942692f41223ce..88b8f00def2ce9589f6e84011039e21fccc5f9cb 100644
--- a/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
+++ b/chrome/browser/ui/cocoa/profiles/avatar_base_controller.mm
@@ -122,10 +122,10 @@ class ProfileInfoUpdateObserver : public ProfileInfoCacheObserver {
// |menuController_| will automatically release itself on close.
if (switches::IsNewAvatarMenu()) {
- BubbleViewMode viewMode =
+ profiles::BubbleViewMode viewMode =
mode == BrowserWindow::AVATAR_BUBBLE_MODE_DEFAULT ?
- BUBBLE_VIEW_MODE_PROFILE_CHOOSER :
- BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT;
+ profiles::BUBBLE_VIEW_MODE_PROFILE_CHOOSER :
+ profiles::BUBBLE_VIEW_MODE_ACCOUNT_MANAGEMENT;
menuController_ =
[[ProfileChooserController alloc] initWithBrowser:browser_
anchoredAt:point

Powered by Google App Engine
This is Rietveld 408576698