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

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

Issue 134263005: Implement inline signin with iframe (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make embedded view messaging work Created 6 years, 10 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/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 768da4bd04a4f0e76600cc75981bffeb16c83b4b..8765c09f2c9d1af1de6cf753319d6fc098f3b0fa 100644
--- a/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm
+++ b/chrome/browser/ui/cocoa/browser/profile_chooser_controller.mm
@@ -11,6 +11,7 @@
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chrome_notification_types.h"
+#include "chrome/browser/extensions/extension_web_contents_observer.h"
#include "chrome/browser/profiles/avatar_menu.h"
#include "chrome/browser/profiles/avatar_menu_observer.h"
#include "chrome/browser/profiles/profile_info_cache.h"
@@ -969,6 +970,8 @@ class ActiveProfileObserverBridge : public AvatarMenuObserver,
webContents_.reset(content::WebContents::Create(
content::WebContents::CreateParams(browser_->profile())));
+ extensions::ExtensionWebContentsObserver::CreateForWebContents(
+ webContents_.get());
webContents_->GetController().LoadURL(
signin::GetPromoURL(source, false),
content::Referrer(),

Powered by Google App Engine
This is Rietveld 408576698