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

Side by Side Diff: ash/shell/window_watcher.cc

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (Closed)
Patch Set: Created 3 years, 9 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/shell/window_type_launcher.cc ('k') | ash/shell_delegate.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/window_watcher.h" 5 #include "ash/shell/window_watcher.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/common/wm_shell.h"
10 #include "ash/common/wm_window.h"
9 #include "ash/display/window_tree_host_manager.h" 11 #include "ash/display/window_tree_host_manager.h"
10 #include "ash/public/cpp/shell_window_ids.h" 12 #include "ash/public/cpp/shell_window_ids.h"
11 #include "ash/shelf/shelf_model.h" 13 #include "ash/shelf/shelf_model.h"
12 #include "ash/shelf/shelf_widget.h" 14 #include "ash/shelf/shelf_widget.h"
13 #include "ash/shell.h" 15 #include "ash/shell.h"
14 #include "ash/shell/window_watcher_shelf_item_delegate.h" 16 #include "ash/shell/window_watcher_shelf_item_delegate.h"
15 #include "ash/wm/window_properties.h" 17 #include "ash/wm/window_properties.h"
16 #include "ash/wm/window_util.h" 18 #include "ash/wm/window_util.h"
17 #include "ash/wm_shell.h"
18 #include "ash/wm_window.h"
19 #include "ui/aura/window.h" 19 #include "ui/aura/window.h"
20 #include "ui/aura/window_event_dispatcher.h" 20 #include "ui/aura/window_event_dispatcher.h"
21 #include "ui/display/display.h" 21 #include "ui/display/display.h"
22 22
23 namespace ash { 23 namespace ash {
24 namespace shell { 24 namespace shell {
25 25
26 class WindowWatcher::WorkspaceWindowWatcher : public aura::WindowObserver { 26 class WindowWatcher::WorkspaceWindowWatcher : public aura::WindowObserver {
27 public: 27 public:
28 explicit WorkspaceWindowWatcher(WindowWatcher* watcher) : watcher_(watcher) {} 28 explicit WorkspaceWindowWatcher(WindowWatcher* watcher) : watcher_(watcher) {}
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 void WindowWatcher::OnDisplayRemoved(const display::Display& old_display) { 144 void WindowWatcher::OnDisplayRemoved(const display::Display& old_display) {
145 // All windows in the display has already been removed, so no need to 145 // All windows in the display has already been removed, so no need to
146 // remove observers. 146 // remove observers.
147 } 147 }
148 148
149 void WindowWatcher::OnDisplayMetricsChanged(const display::Display&, uint32_t) { 149 void WindowWatcher::OnDisplayMetricsChanged(const display::Display&, uint32_t) {
150 } 150 }
151 151
152 } // namespace shell 152 } // namespace shell
153 } // namespace ash 153 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | ash/shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698