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

Unified Diff: chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm

Issue 188753003: force constrained signed flow in avatar bubble on mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm
diff --git a/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm b/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm
index 0359b92673ad0e39c0e7c2089a8e65abcbbca407..802210850f081dd57fc9657c9e43807a23607064 100644
--- a/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm
+++ b/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm
@@ -1000,7 +1000,8 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
webContents_.reset(content::WebContents::Create(
content::WebContents::CreateParams(browser_->profile())));
webContents_->GetController().LoadURL(
- signin::GetPromoURL(source, false),
+ signin::GetPromoURL(
+ source, false /* auto_close */, true /* is_constrained */),
content::Referrer(),
content::PAGE_TRANSITION_AUTO_TOPLEVEL,
std::string());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698