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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 333353004: Fix the Windows 8 mode avatar button menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use another ProfileChooserView anchor, remove unused anchor_rect. Created 6 years, 6 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/profile_chooser_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
index 9e3d834d61b71cfb510432c6ab66b41c545396d5..eb7a63017c34abe0a07cf148c0ab95c05edce657 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -449,13 +449,12 @@ void ProfileChooserView::ShowBubble(
views::View* anchor_view,
views::BubbleBorder::Arrow arrow,
views::BubbleBorder::BubbleAlignment border_alignment,
- const gfx::Rect& anchor_rect,
Browser* browser) {
if (IsShowing())
return;
- profile_bubble_ = new ProfileChooserView(anchor_view, arrow, anchor_rect,
- browser, view_mode, service_type);
+ profile_bubble_ = new ProfileChooserView(anchor_view, arrow, browser,
+ view_mode, service_type);
views::BubbleDelegateView::CreateBubble(profile_bubble_);
profile_bubble_->set_close_on_deactivate(close_on_deactivate_for_testing_);
profile_bubble_->SetAlignment(border_alignment);
@@ -476,7 +475,6 @@ void ProfileChooserView::Hide() {
ProfileChooserView::ProfileChooserView(views::View* anchor_view,
views::BubbleBorder::Arrow arrow,
- const gfx::Rect& anchor_rect,
Browser* browser,
profiles::BubbleViewMode view_mode,
signin::GAIAServiceType service_type)
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698