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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.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
« no previous file with comments | « ash/wm/window_util.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/wallpaper_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
index 7fd0e08796021b6fe5404f7940c173bdb668d485..83d2ad3aa4cf885ff9a915227cfff690a9239456 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
@@ -11,6 +11,7 @@
#include <utility>
#include <vector>
+#include "ash/aura/wm_window_aura.h"
#include "ash/common/wm/window_state.h"
#include "ash/desktop_background/desktop_background_controller.h"
#include "ash/shell.h"
@@ -215,8 +216,10 @@ void WindowStateManager::BuildWindowListAndMinimizeInactiveForUser(
std::set<aura::Window*>* results =
&user_id_hash_window_list_map_[user_id_hash];
- std::vector<aura::Window*> windows = ash::Shell::GetInstance()->
- mru_window_tracker()->BuildWindowListIgnoreModal();
+ std::vector<aura::Window*> windows =
+ ash::WmWindowAura::ToAuraWindows(ash::Shell::GetInstance()
+ ->mru_window_tracker()
+ ->BuildWindowListIgnoreModal());
for (std::vector<aura::Window*>::iterator iter = windows.begin();
iter != windows.end(); ++iter) {
« no previous file with comments | « ash/wm/window_util.cc ('k') | chrome/browser/ui/ash/chrome_shell_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698