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

Side by Side Diff: ash/shell.cc

Issue 1921883002: Removes WindowState::aura_window() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix windows build Created 4 years, 7 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
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/wm/aura/wm_window_aura.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/shell.h" 5 #include "ash/shell.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 #include "ash/shell_window_ids.h" 53 #include "ash/shell_window_ids.h"
54 #include "ash/system/locale/locale_notification_controller.h" 54 #include "ash/system/locale/locale_notification_controller.h"
55 #include "ash/system/status_area_widget.h" 55 #include "ash/system/status_area_widget.h"
56 #include "ash/system/toast/toast_manager.h" 56 #include "ash/system/toast/toast_manager.h"
57 #include "ash/system/tray/system_tray_delegate.h" 57 #include "ash/system/tray/system_tray_delegate.h"
58 #include "ash/system/tray/system_tray_notifier.h" 58 #include "ash/system/tray/system_tray_notifier.h"
59 #include "ash/utility/partial_screenshot_controller.h" 59 #include "ash/utility/partial_screenshot_controller.h"
60 #include "ash/wm/ash_focus_rules.h" 60 #include "ash/wm/ash_focus_rules.h"
61 #include "ash/wm/ash_native_cursor_manager.h" 61 #include "ash/wm/ash_native_cursor_manager.h"
62 #include "ash/wm/aura/wm_globals_aura.h" 62 #include "ash/wm/aura/wm_globals_aura.h"
63 #include "ash/wm/aura/wm_window_aura.h"
63 #include "ash/wm/common/root_window_finder.h" 64 #include "ash/wm/common/root_window_finder.h"
64 #include "ash/wm/event_client_impl.h" 65 #include "ash/wm/event_client_impl.h"
65 #include "ash/wm/lock_state_controller.h" 66 #include "ash/wm/lock_state_controller.h"
66 #include "ash/wm/maximize_mode/maximize_mode_controller.h" 67 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
67 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h" 68 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h"
68 #include "ash/wm/mru_window_tracker.h" 69 #include "ash/wm/mru_window_tracker.h"
69 #include "ash/wm/overlay_event_filter.h" 70 #include "ash/wm/overlay_event_filter.h"
70 #include "ash/wm/overview/window_selector_controller.h" 71 #include "ash/wm/overview/window_selector_controller.h"
71 #include "ash/wm/power_button_controller.h" 72 #include "ash/wm/power_button_controller.h"
72 #include "ash/wm/resize_shadow_controller.h" 73 #include "ash/wm/resize_shadow_controller.h"
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 1237
1237 void Shell::OnWindowActivated( 1238 void Shell::OnWindowActivated(
1238 aura::client::ActivationChangeObserver::ActivationReason reason, 1239 aura::client::ActivationChangeObserver::ActivationReason reason,
1239 aura::Window* gained_active, 1240 aura::Window* gained_active,
1240 aura::Window* lost_active) { 1241 aura::Window* lost_active) {
1241 if (gained_active) 1242 if (gained_active)
1242 target_root_window_ = gained_active->GetRootWindow(); 1243 target_root_window_ = gained_active->GetRootWindow();
1243 } 1244 }
1244 1245
1245 } // namespace ash 1246 } // namespace ash
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | ash/wm/aura/wm_window_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698