AvatarMenu 14 chrome/browser/chromeos/profiles/avatar_menu_chromeos.cc void AvatarMenu::GetImageForMenuButton(Profile* profile, AvatarMenu 36 chrome/browser/chromeos/profiles/profile_list_chromeos.cc const AvatarMenu::Item& ProfileListChromeOS::GetItemAt(size_t index) const { AvatarMenu 60 chrome/browser/chromeos/profiles/profile_list_chromeos.cc AvatarMenu::Item* item = new AvatarMenu::Item(i, i, icon); AvatarMenu 104 chrome/browser/chromeos/profiles/profile_list_chromeos.cc std::sort(items_.begin(), items_.end(), &AvatarMenu::CompareItems); AvatarMenu 24 chrome/browser/chromeos/profiles/profile_list_chromeos.h virtual const AvatarMenu::Item& GetItemAt(size_t index) const OVERRIDE; AvatarMenu 40 chrome/browser/chromeos/profiles/profile_list_chromeos.h std::vector<AvatarMenu::Item*> items_; AvatarMenu 39 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* avatar_menu) OVERRIDE { AvatarMenu 100 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* GetAvatarMenu() { AvatarMenu 106 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc avatar_menu_.reset(new AvatarMenu( AvatarMenu 128 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc scoped_ptr<AvatarMenu> avatar_menu_; AvatarMenu 139 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); AvatarMenu 143 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); AvatarMenu 159 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); AvatarMenu 163 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); AvatarMenu 167 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item3 = menu->GetItemAt(1); AvatarMenu 186 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); AvatarMenu 189 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); AvatarMenu 201 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); AvatarMenu 214 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); AvatarMenu 233 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); AvatarMenu 249 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); AvatarMenu 253 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); AvatarMenu 257 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item2 = menu->GetItemAt(1); AvatarMenu 267 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1next = menu->GetItemAt(0); AvatarMenu 272 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item2next = menu->GetItemAt(1); AvatarMenu 284 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc AvatarMenu* menu = GetAvatarMenu(); AvatarMenu 297 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item1 = menu->GetItemAt(0); AvatarMenu 301 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item2 = menu->GetItemAt(1); AvatarMenu 305 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc const AvatarMenu::Item& item3 = menu->GetItemAt(2); AvatarMenu 318 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc EXPECT_FALSE(AvatarMenu::ShouldShowAvatarMenu()); AvatarMenu 322 chrome/browser/chromeos/profiles/profile_list_chromeos_unittest.cc EXPECT_FALSE(AvatarMenu::ShouldShowAvatarMenu()); AvatarMenu 50 chrome/browser/profiles/avatar_menu.cc AvatarMenu::AvatarMenu(ProfileInfoInterface* profile_cache, AvatarMenu 68 chrome/browser/profiles/avatar_menu.cc AvatarMenu::~AvatarMenu() { AvatarMenu 71 chrome/browser/profiles/avatar_menu.cc AvatarMenu::Item::Item(size_t menu_index, AvatarMenu 82 chrome/browser/profiles/avatar_menu.cc AvatarMenu::Item::~Item() { AvatarMenu 86 chrome/browser/profiles/avatar_menu.cc bool AvatarMenu::ShouldShowAvatarMenu() { AvatarMenu 110 chrome/browser/profiles/avatar_menu.cc bool AvatarMenu::CompareItems(const Item* item1, const Item* item2) { AvatarMenu 115 chrome/browser/profiles/avatar_menu.cc void AvatarMenu::SwitchToProfile(size_t index, AvatarMenu 142 chrome/browser/profiles/avatar_menu.cc void AvatarMenu::AddNewProfile(ProfileMetrics::ProfileAdd type) { AvatarMenu 146 chrome/browser/profiles/avatar_menu.cc void AvatarMenu::EditProfile(size_t index) { AvatarMenu 156 chrome/browser/profiles/avatar_menu.cc void AvatarMenu::RebuildMenu() { AvatarMenu 160 chrome/browser/profiles/avatar_menu.cc size_t AvatarMenu::GetNumberOfItems() const { AvatarMenu 164 chrome/browser/profiles/avatar_menu.cc const AvatarMenu::Item& AvatarMenu::GetItemAt(size_t index) const { AvatarMenu 167 chrome/browser/profiles/avatar_menu.cc size_t AvatarMenu::GetActiveProfileIndex() { AvatarMenu 188 chrome/browser/profiles/avatar_menu.cc base::string16 AvatarMenu::GetManagedUserInformation() const { AvatarMenu 202 chrome/browser/profiles/avatar_menu.cc const gfx::Image& AvatarMenu::GetManagedUserIcon() const { AvatarMenu 207 chrome/browser/profiles/avatar_menu.cc void AvatarMenu::ActiveBrowserChanged(Browser* browser) { AvatarMenu 218 chrome/browser/profiles/avatar_menu.cc bool AvatarMenu::ShouldShowAddNewProfileLink() const { AvatarMenu 222 chrome/browser/profiles/avatar_menu.cc bool AvatarMenu::ShouldShowEditProfileLink() const { AvatarMenu 226 chrome/browser/profiles/avatar_menu.cc void AvatarMenu::Observe(int type, AvatarMenu 34 chrome/browser/profiles/avatar_menu.h class AvatarMenu : public content::NotificationObserver { AvatarMenu 77 chrome/browser/profiles/avatar_menu.h AvatarMenu(ProfileInfoInterface* profile_cache, AvatarMenu 80 chrome/browser/profiles/avatar_menu.h virtual ~AvatarMenu(); AvatarMenu 163 chrome/browser/profiles/avatar_menu.h DISALLOW_COPY_AND_ASSIGN(AvatarMenu); AvatarMenu 13 chrome/browser/profiles/avatar_menu_desktop.cc void AvatarMenu::GetImageForMenuButton(Profile* profile, AvatarMenu 8 chrome/browser/profiles/avatar_menu_observer.h class AvatarMenu; AvatarMenu 16 chrome/browser/profiles/avatar_menu_observer.h virtual void OnAvatarMenuChanged(AvatarMenu* avatar_menu) = 0; AvatarMenu 23 chrome/browser/profiles/profile_list.h virtual const AvatarMenu::Item& GetItemAt(size_t index) const = 0; AvatarMenu 32 chrome/browser/profiles/profile_list_desktop.cc const AvatarMenu::Item& ProfileListDesktop::GetItemAt(size_t index) const { AvatarMenu 56 chrome/browser/profiles/profile_list_desktop.cc AvatarMenu::Item* item = new AvatarMenu::Item(i - omitted_item_count_, AvatarMenu 90 chrome/browser/profiles/profile_list_desktop.cc const AvatarMenu::Item item = GetItemAt(i); AvatarMenu 25 chrome/browser/profiles/profile_list_desktop.h virtual const AvatarMenu::Item& GetItemAt(size_t index) const OVERRIDE; AvatarMenu 43 chrome/browser/profiles/profile_list_desktop.h std::vector<AvatarMenu::Item*> items_; AvatarMenu 37 chrome/browser/profiles/profile_list_desktop_browsertest.cc AvatarMenu* GetAvatarMenu(ProfileInfoCache* cache) { AvatarMenu 39 chrome/browser/profiles/profile_list_desktop_browsertest.cc avatar_menu_.reset(new AvatarMenu( AvatarMenu 47 chrome/browser/profiles/profile_list_desktop_browsertest.cc scoped_ptr<AvatarMenu> avatar_menu_; AvatarMenu 67 chrome/browser/profiles/profile_list_desktop_browsertest.cc AvatarMenu* menu = GetAvatarMenu(&cache); AvatarMenu 117 chrome/browser/profiles/profile_list_desktop_browsertest.cc AvatarMenu* menu = GetAvatarMenu(&cache); AvatarMenu 33 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* avatar_menu) OVERRIDE { AvatarMenu 59 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* GetAvatarMenu() { AvatarMenu 65 chrome/browser/profiles/profile_list_desktop_unittest.cc avatar_menu_.reset(new AvatarMenu( AvatarMenu 88 chrome/browser/profiles/profile_list_desktop_unittest.cc scoped_ptr<AvatarMenu> avatar_menu_; AvatarMenu 97 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); AvatarMenu 102 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = model->GetItemAt(0); AvatarMenu 106 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = model->GetItemAt(1); AvatarMenu 123 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = profile_list.GetItemAt(0); AvatarMenu 128 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = profile_list.GetItemAt(1); AvatarMenu 133 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item3 = profile_list.GetItemAt(2); AvatarMenu 138 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item4 = profile_list.GetItemAt(3); AvatarMenu 165 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = profile_list.GetItemAt(0); AvatarMenu 170 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = profile_list.GetItemAt(1); AvatarMenu 175 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item3 = profile_list.GetItemAt(2); AvatarMenu 180 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item4 = profile_list.GetItemAt(3); AvatarMenu 195 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); AvatarMenu 210 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); AvatarMenu 215 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = model->GetItemAt(0); AvatarMenu 219 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = model->GetItemAt(1); AvatarMenu 227 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1next = model->GetItemAt(0); AvatarMenu 232 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2next = model->GetItemAt(1); AvatarMenu 241 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); AvatarMenu 257 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = model->GetItemAt(0); AvatarMenu 261 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = model->GetItemAt(1); AvatarMenu 265 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item3 = model->GetItemAt(2); AvatarMenu 280 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_FALSE(AvatarMenu::ShouldShowAvatarMenu()); AvatarMenu 282 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_TRUE(AvatarMenu::ShouldShowAvatarMenu()); AvatarMenu 289 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_FALSE(AvatarMenu::ShouldShowAvatarMenu()); AvatarMenu 298 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_FALSE(AvatarMenu::ShouldShowAvatarMenu()); AvatarMenu 310 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_FALSE(AvatarMenu::ShouldShowAvatarMenu()); AvatarMenu 312 chrome/browser/profiles/profile_list_desktop_unittest.cc EXPECT_TRUE(AvatarMenu::ShouldShowAvatarMenu()); AvatarMenu 331 chrome/browser/profiles/profile_list_desktop_unittest.cc AvatarMenu* model = GetAvatarMenu(); AvatarMenu 339 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item1 = model->GetItemAt(0); AvatarMenu 342 chrome/browser/profiles/profile_list_desktop_unittest.cc const AvatarMenu::Item& item2 = model->GetItemAt(1); AvatarMenu 1290 chrome/browser/ui/browser_command_controller.cc AvatarMenu::ShouldShowAvatarMenu(); AvatarMenu 15 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h class AvatarMenu; AvatarMenu 23 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h scoped_ptr<AvatarMenu> menu_; AvatarMenu 130 chrome/browser/ui/cocoa/browser/avatar_menu_bubble_controller.h - (id)initWithMenu:(AvatarMenu*)menu AvatarMenu 15 chrome/browser/ui/cocoa/browser/profile_chooser_controller.h class AvatarMenu; AvatarMenu 44 chrome/browser/ui/cocoa/browser/profile_chooser_controller.h scoped_ptr<AvatarMenu> avatarMenu_; AvatarMenu 12 chrome/browser/ui/cocoa/profile_menu_controller.h class AvatarMenu; AvatarMenu 25 chrome/browser/ui/cocoa/profile_menu_controller.h scoped_ptr<AvatarMenu> menu_; AvatarMenu 48 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc avatar_menu_.reset(new AvatarMenu( AvatarMenu 82 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc AvatarMenu* avatar_menu) { AvatarMenu 133 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc AvatarMenu::Item menu_item = avatar_menu_->GetItemAt(i); AvatarMenu 166 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.cc AvatarMenu::Item menu_item = AvatarMenu 19 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h class AvatarMenu; AvatarMenu 41 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h AvatarMenu* avatar_menu) OVERRIDE; AvatarMenu 68 chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h scoped_ptr<AvatarMenu> avatar_menu_; AvatarMenu 47 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc const AvatarMenu::Item& item, AvatarMenu 35 chrome/browser/ui/gtk/avatar_menu_item_gtk.h const AvatarMenu::Item& item, AvatarMenu 76 chrome/browser/ui/gtk/avatar_menu_item_gtk.h AvatarMenu::Item item_; AvatarMenu 1090 chrome/browser/ui/gtk/browser_titlebar.cc return AvatarMenu::ShouldShowAvatarMenu(); AvatarMenu 219 chrome/browser/ui/views/avatar_menu_bubble_view.cc ProfileItemView(const AvatarMenu::Item& item, AvatarMenu 221 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu* menu); AvatarMenu 233 chrome/browser/ui/views/avatar_menu_bubble_view.cc const AvatarMenu::Item& item() const { return item_; } AvatarMenu 241 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu::Item item_; AvatarMenu 243 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu* menu_; AvatarMenu 252 chrome/browser/ui/views/avatar_menu_bubble_view.cc ProfileItemView::ProfileItemView(const AvatarMenu::Item& item, AvatarMenu 254 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu* menu) AvatarMenu 526 chrome/browser/ui/views/avatar_menu_bubble_view.cc avatar_menu_.reset(new AvatarMenu( AvatarMenu 716 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu* avatar_menu) { AvatarMenu 718 chrome/browser/ui/views/avatar_menu_bubble_view.cc const AvatarMenu::Item& item = avatar_menu->GetItemAt(i); AvatarMenu 748 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu* avatar_menu) { AvatarMenu 751 chrome/browser/ui/views/avatar_menu_bubble_view.cc const AvatarMenu::Item& item = AvatarMenu 790 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu* avatar_menu) { AvatarMenu 18 chrome/browser/ui/views/avatar_menu_bubble_view.h class AvatarMenu; AvatarMenu 80 chrome/browser/ui/views/avatar_menu_bubble_view.h AvatarMenu* avatar_menu) OVERRIDE; AvatarMenu 101 chrome/browser/ui/views/avatar_menu_bubble_view.h void InitMenuContents(AvatarMenu* avatar_menu); AvatarMenu 104 chrome/browser/ui/views/avatar_menu_bubble_view.h void InitManagedUserContents(AvatarMenu* avatar_menu); AvatarMenu 106 chrome/browser/ui/views/avatar_menu_bubble_view.h scoped_ptr<AvatarMenu> avatar_menu_; AvatarMenu 102 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc AvatarMenu::GetImageForMenuButton(browser_view_->browser()->profile(), AvatarMenu 106 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc } else if (avatar_button_ || AvatarMenu::ShouldShowAvatarMenu()) { AvatarMenu 115 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc AvatarMenu::GetImageForMenuButton(browser_view_->browser()->profile(), AvatarMenu 119 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc if (avatar_button_ && !AvatarMenu::ShouldShowAvatarMenu()) AvatarMenu 138 chrome/browser/ui/views/frame/browser_non_client_frame_view.cc AvatarMenu::ShouldShowAvatarMenu() AvatarMenu 618 chrome/browser/ui/views/frame/browser_view.cc return AvatarMenu::ShouldShowAvatarMenu(); AvatarMenu 119 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc AvatarMenu* menu = AvatarMenu 121 chrome/browser/ui/views/new_avatar_menu_button_browsertest.cc const AvatarMenu::Item& menu_item_before = AvatarMenu 392 chrome/browser/ui/views/profile_chooser_view.cc avatar_menu_.reset(new AvatarMenu( AvatarMenu 433 chrome/browser/ui/views/profile_chooser_view.cc AvatarMenu* avatar_menu) { AvatarMenu 459 chrome/browser/ui/views/profile_chooser_view.cc AvatarMenu* avatar_menu) { AvatarMenu 463 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& active_item = avatar_menu->GetItemAt( AvatarMenu 497 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& item = avatar_menu->GetItemAt(i); AvatarMenu 659 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& active_item = avatar_menu_->GetItemAt( AvatarMenu 676 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& current_avatar_item, bool tutorial_shown) { AvatarMenu 781 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& avatar_item, AvatarMenu 830 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& avatar_item) { AvatarMenu 860 chrome/browser/ui/views/profile_chooser_view.cc AvatarMenu::Item guest_avatar_item(0, 0, guest_icon); AvatarMenu 879 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& item = avatar_menu_->GetItemAt(index); AvatarMenu 955 chrome/browser/ui/views/profile_chooser_view.cc const AvatarMenu::Item& avatar_item) { AvatarMenu 116 chrome/browser/ui/views/profile_chooser_view.h virtual void OnAvatarMenuChanged(AvatarMenu* avatar_menu) OVERRIDE; AvatarMenu 129 chrome/browser/ui/views/profile_chooser_view.h AvatarMenu* avatar_menu); AvatarMenu 134 chrome/browser/ui/views/profile_chooser_view.h const AvatarMenu::Item& current_avatar_item, bool tutorial_shown); AvatarMenu 140 chrome/browser/ui/views/profile_chooser_view.h const AvatarMenu::Item& avatar_item, AvatarMenu 148 chrome/browser/ui/views/profile_chooser_view.h const AvatarMenu::Item& avatar_item); AvatarMenu 150 chrome/browser/ui/views/profile_chooser_view.h const AvatarMenu::Item& avatar_item); AvatarMenu 164 chrome/browser/ui/views/profile_chooser_view.h scoped_ptr<AvatarMenu> avatar_menu_;