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

Side by Side Diff: ash/aura/wm_root_window_controller_aura.cc

Issue 2292183003: Moves WorkspaceController to ash/common (Closed)
Patch Set: merge 2 trunk Created 4 years, 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/aura/wm_root_window_controller_aura.h" 5 #include "ash/aura/wm_root_window_controller_aura.h"
6 6
7 #include "ash/aura/wm_shelf_aura.h" 7 #include "ash/aura/wm_shelf_aura.h"
8 #include "ash/aura/wm_shell_aura.h" 8 #include "ash/aura/wm_shell_aura.h"
9 #include "ash/aura/wm_window_aura.h" 9 #include "ash/aura/wm_window_aura.h"
10 #include "ash/common/shelf/shelf.h" 10 #include "ash/common/shelf/shelf.h"
11 #include "ash/common/shelf/shelf_widget.h" 11 #include "ash/common/shelf/shelf_widget.h"
12 #include "ash/common/wm/workspace/workspace_layout_manager_backdrop_delegate.h" 12 #include "ash/common/wm/workspace/workspace_layout_manager_backdrop_delegate.h"
13 #include "ash/common/wm/workspace_controller.h"
13 #include "ash/common/wm_root_window_controller_observer.h" 14 #include "ash/common/wm_root_window_controller_observer.h"
14 #include "ash/display/window_tree_host_manager.h" 15 #include "ash/display/window_tree_host_manager.h"
15 #include "ash/root_window_controller.h" 16 #include "ash/root_window_controller.h"
16 #include "ash/shell.h" 17 #include "ash/shell.h"
17 #include "ash/wm/workspace_controller.h"
18 #include "ui/aura/window.h" 18 #include "ui/aura/window.h"
19 #include "ui/aura/window_event_dispatcher.h" 19 #include "ui/aura/window_event_dispatcher.h"
20 #include "ui/aura/window_property.h" 20 #include "ui/aura/window_property.h"
21 #include "ui/aura/window_tree_host.h" 21 #include "ui/aura/window_tree_host.h"
22 #include "ui/display/screen.h" 22 #include "ui/display/screen.h"
23 #include "ui/events/event_targeter.h" 23 #include "ui/events/event_targeter.h"
24 #include "ui/events/event_utils.h" 24 #include "ui/events/event_utils.h"
25 25
26 DECLARE_WINDOW_PROPERTY_TYPE(ash::WmRootWindowControllerAura*); 26 DECLARE_WINDOW_PROPERTY_TYPE(ash::WmRootWindowControllerAura*);
27 27
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 const display::Display& display) {} 154 const display::Display& display) {}
155 155
156 void WmRootWindowControllerAura::OnDisplayMetricsChanged( 156 void WmRootWindowControllerAura::OnDisplayMetricsChanged(
157 const display::Display& display, 157 const display::Display& display,
158 uint32_t metrics) { 158 uint32_t metrics) {
159 FOR_EACH_OBSERVER(WmRootWindowControllerObserver, observers_, 159 FOR_EACH_OBSERVER(WmRootWindowControllerObserver, observers_,
160 OnWorkAreaChanged()); 160 OnWorkAreaChanged());
161 } 161 }
162 162
163 } // namespace ash 163 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698