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

Unified Diff: ash/shell/content/client/shell_browser_main_parts.cc

Issue 2797743002: ash: Merge LoginStatus update code path (Closed)
Patch Set: fix post unlock animation not run, and tests Created 3 years, 8 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: ash/shell/content/client/shell_browser_main_parts.cc
diff --git a/ash/shell/content/client/shell_browser_main_parts.cc b/ash/shell/content/client/shell_browser_main_parts.cc
index b61ace578a911b741cbeaf7587a17849109beef6..4a35215687cbe96fbf00b7c00452d4c80e684dba 100644
--- a/ash/shell/content/client/shell_browser_main_parts.cc
+++ b/ash/shell/content/client/shell_browser_main_parts.cc
@@ -140,9 +140,6 @@ void ShellBrowserMainParts::PreMainMessageLoopRun() {
Shell::Get()->session_controller());
example_session_controller_client_->Initialize();
- ash::Shell::Get()->CreateShelfView();
msw 2017/04/05 00:15:47 I guess this isn't needed because it's called by S
xiyuan 2017/04/05 22:29:07 Yep. We no longer need to special handling this.
- ash::Shell::Get()->UpdateAfterLoginStatusChange(LoginStatus::USER);
-
window_watcher_.reset(new ash::shell::WindowWatcher);
display::Screen::GetScreen()->AddObserver(window_watcher_.get());

Powered by Google App Engine
This is Rietveld 408576698