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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate.cc

Issue 2042913002: Converts MruWindowTracker to work with common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: not equal Created 4 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/ash/chrome_shell_delegate.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate.cc b/chrome/browser/ui/ash/chrome_shell_delegate.cc
index 5d523cb8de7d5bd3ec2c0aaf6df863d933dbdb98..4194556d0d183fb16bea83060e0df757fa39d0bd 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate.cc
@@ -9,6 +9,7 @@
#include "ash/accelerators/magnifier_key_scroller.h"
#include "ash/accelerators/spoken_feedback_toggler.h"
#include "ash/accessibility_delegate.h"
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/wm/window_state.h"
#include "ash/container_delegate_aura.h"
#include "ash/content/gpu_support_impl.h"
@@ -83,8 +84,8 @@ void InitAfterFirstSessionStart() {
// windows can be opened in background while login UI is still active because
// we currently restore browser windows before login UI is deleted.
ash::Shell* shell = ash::Shell::GetInstance();
- ash::MruWindowTracker::WindowList mru_list =
- shell->mru_window_tracker()->BuildMruWindowList();
+ aura::Window::Windows mru_list = ash::WmWindowAura::ToAuraWindows(
+ shell->mru_window_tracker()->BuildMruWindowList());
if (!mru_list.empty())
mru_list.front()->Focus();

Powered by Google App Engine
This is Rietveld 408576698