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

Side by Side Diff: ash/wm/maximize_mode/maximize_mode_window_manager.cc

Issue 2910773002: cros: CustomFrameViewAsh avatar icon from a window prop (Closed)
Patch Set: add test 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ash/wm/maximize_mode/maximize_mode_window_manager.h" 5 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h"
6 6
7 #include "ash/ash_switches.h" 7 #include "ash/ash_switches.h"
8 #include "ash/public/cpp/shell_window_ids.h" 8 #include "ash/public/cpp/shell_window_ids.h"
9 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
10 #include "ash/session/session_state_delegate.h"
11 #include "ash/shell.h" 10 #include "ash/shell.h"
12 #include "ash/shell_port.h" 11 #include "ash/shell_port.h"
13 #include "ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h" 12 #include "ash/wm/maximize_mode/maximize_mode_backdrop_delegate_impl.h"
14 #include "ash/wm/maximize_mode/maximize_mode_event_handler.h" 13 #include "ash/wm/maximize_mode/maximize_mode_event_handler.h"
15 #include "ash/wm/maximize_mode/maximize_mode_window_state.h" 14 #include "ash/wm/maximize_mode/maximize_mode_window_state.h"
16 #include "ash/wm/mru_window_tracker.h" 15 #include "ash/wm/mru_window_tracker.h"
17 #include "ash/wm/overview/window_selector_controller.h" 16 #include "ash/wm/overview/window_selector_controller.h"
18 #include "ash/wm/window_state.h" 17 #include "ash/wm/window_state.h"
19 #include "ash/wm/wm_event.h" 18 #include "ash/wm/wm_event.h"
20 #include "ash/wm/workspace_controller.h" 19 #include "ash/wm/workspace_controller.h"
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 // Inform the WorkspaceLayoutManager that we want to show a backdrop behind 299 // Inform the WorkspaceLayoutManager that we want to show a backdrop behind
301 // the topmost window of its container. 300 // the topmost window of its container.
302 for (auto* controller : Shell::GetAllRootWindowControllers()) { 301 for (auto* controller : Shell::GetAllRootWindowControllers()) {
303 controller->workspace_controller()->SetBackdropDelegate( 302 controller->workspace_controller()->SetBackdropDelegate(
304 enable ? base::MakeUnique<MaximizeModeBackdropDelegateImpl>() 303 enable ? base::MakeUnique<MaximizeModeBackdropDelegateImpl>()
305 : nullptr); 304 : nullptr);
306 } 305 }
307 } 306 }
308 307
309 } // namespace ash 308 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | ash/wm/system_modal_container_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698