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

Side by Side Diff: chrome/browser/chromeos/login/users/wallpaper/wallpaper_window_state_manager.cc

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus ash] Removes WmWindow from ash (rebase, nits and cleanup of use of ResizeHandleWindowTargeter) Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_window_state_m anager.h" 5 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_window_state_m anager.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/wm/mru_window_tracker.h" 8 #include "ash/wm/mru_window_tracker.h"
9 #include "ash/wm/window_state.h" 9 #include "ash/wm/window_state.h"
10 #include "ash/wm/window_util.h" 10 #include "ash/wm/window_util.h"
11 #include "ash/wm_window.h"
12 #include "chrome/browser/ui/ash/ash_util.h" 11 #include "chrome/browser/ui/ash/ash_util.h"
13 #include "ui/aura/window.h" 12 #include "ui/aura/window.h"
14 13
15 namespace chromeos { 14 namespace chromeos {
16 15
17 // static 16 // static
18 WallpaperWindowStateManager* g_window_state_manager = nullptr; 17 WallpaperWindowStateManager* g_window_state_manager = nullptr;
19 18
20 // static 19 // static
21 void WallpaperWindowStateManager::MinimizeInactiveWindows( 20 void WallpaperWindowStateManager::MinimizeInactiveWindows(
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 // If user interacted with the |window| while wallpaper picker is opening, 128 // If user interacted with the |window| while wallpaper picker is opening,
130 // removes the |window| from observed list. 129 // removes the |window| from observed list.
131 for (auto iter = user_id_hash_window_list_map_.begin(); 130 for (auto iter = user_id_hash_window_list_map_.begin();
132 iter != user_id_hash_window_list_map_.end(); ++iter) { 131 iter != user_id_hash_window_list_map_.end(); ++iter) {
133 iter->second.erase(window); 132 iter->second.erase(window);
134 } 133 }
135 window->RemoveObserver(this); 134 window->RemoveObserver(this);
136 } 135 }
137 136
138 } // namespace chromeos 137 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_browsertest.cc ('k') | chrome/browser/chromeos/ui/accessibility_cursor_ring_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698