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

Unified Diff: chrome/browser/chromeos/login/ui/webui_login_view.cc

Issue 1321713005: Abstract WebContents/NavigationController from core TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Created 5 years, 3 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/chromeos/login/ui/webui_login_view.cc
diff --git a/chrome/browser/chromeos/login/ui/webui_login_view.cc b/chrome/browser/chromeos/login/ui/webui_login_view.cc
index 015b55f9e2bc30ae287b96262ba6bf35cf08fc04..33a203f333e9ffaeed6f6398c9f220098d51be41 100644
--- a/chrome/browser/chromeos/login/ui/webui_login_view.cc
+++ b/chrome/browser/chromeos/login/ui/webui_login_view.cc
@@ -31,6 +31,7 @@
#include "chromeos/network/network_state.h"
#include "chromeos/network/network_state_handler.h"
#include "components/password_manager/core/browser/password_manager.h"
+#include "components/sessions/content/content_open_tab.h"
#include "components/web_modal/web_contents_modal_dialog_manager.h"
#include "content/public/browser/notification_service.h"
#include "content/public/browser/render_frame_host.h"
@@ -183,6 +184,8 @@ void WebUILoginView::Init() {
// that may be opened on top of this UI.
SessionTabHelper::CreateForWebContents(web_contents);
+ sessions::ContentOpenTab::CreateForWebContents(web_contents);
+
// Create the password manager that is needed for the proxy.
ChromePasswordManagerClient::CreateForWebContentsWithAutofillClient(
web_contents,

Powered by Google App Engine
This is Rietveld 408576698