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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 345533005: Parse extra parameters on x-chrome-manage-accounts header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup 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
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index e1f85ef7b306b1b583a98d888807ac64b1864b4a..b273ec93e8fd57003361718d0f7406e47494f6d8 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -2378,10 +2378,10 @@ void BrowserView::ShowAvatarBubble(WebContents* web_contents,
void BrowserView::ShowAvatarBubbleFromAvatarButton(
AvatarBubbleMode mode,
- signin::GAIAServiceType service_type) {
+ const signin::ManageAccountsParams& manage_accounts_params) {
views::BubbleBorder::Arrow arrow = views::BubbleBorder::TOP_RIGHT;
views::BubbleBorder::BubbleAlignment alignment =
- views::BubbleBorder::ALIGN_ARROW_TO_MID_ANCHOR;
+ views::BubbleBorder::ALIGN_ARROW_TO_MID_ANCHOR;
views::View* anchor_view = frame_->GetAvatarMenuButton();
if (!anchor_view)
anchor_view = toolbar_->app_menu();
@@ -2411,8 +2411,8 @@ void BrowserView::ShowAvatarBubbleFromAvatarButton(
view_mode = profiles::BUBBLE_VIEW_MODE_PROFILE_CHOOSER;
break;
}
- ProfileChooserView::ShowBubble(view_mode, service_type, anchor_view, arrow,
- alignment, browser());
+ ProfileChooserView::ShowBubble(view_mode, manage_accounts_params,
+ anchor_view, arrow, alignment, browser());
} else {
gfx::Point origin;
views::View::ConvertPointToScreen(anchor_view, &origin);
« no previous file with comments | « chrome/browser/ui/views/frame/browser_view.h ('k') | chrome/browser/ui/views/frame/glass_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698