OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/mus/ws/focus_controller.h" | 5 #include "services/ui/ws/focus_controller.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "components/mus/public/interfaces/window_manager.mojom.h" | 8 #include "services/ui/public/interfaces/window_manager.mojom.h" |
9 #include "components/mus/ws/focus_controller_delegate.h" | 9 #include "services/ui/ws/focus_controller_delegate.h" |
10 #include "components/mus/ws/focus_controller_observer.h" | 10 #include "services/ui/ws/focus_controller_observer.h" |
11 #include "components/mus/ws/server_window.h" | 11 #include "services/ui/ws/server_window.h" |
12 #include "components/mus/ws/server_window_drawn_tracker.h" | 12 #include "services/ui/ws/server_window_drawn_tracker.h" |
13 | 13 |
14 namespace mus { | 14 namespace mus { |
15 namespace ws { | 15 namespace ws { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 ServerWindow* GetDeepestLastDescendant(ServerWindow* window) { | 19 ServerWindow* GetDeepestLastDescendant(ServerWindow* window) { |
20 while (!window->children().empty()) | 20 while (!window->children().empty()) |
21 window = window->children().back(); | 21 window = window->children().back(); |
22 return window; | 22 return window; |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 } | 302 } |
303 | 303 |
304 void FocusController::OnDrawnStateChanged(ServerWindow* ancestor, | 304 void FocusController::OnDrawnStateChanged(ServerWindow* ancestor, |
305 ServerWindow* window, | 305 ServerWindow* window, |
306 bool is_drawn) { | 306 bool is_drawn) { |
307 // DCHECK(false); TODO(sadrul): | 307 // DCHECK(false); TODO(sadrul): |
308 } | 308 } |
309 | 309 |
310 } // namespace ws | 310 } // namespace ws |
311 } // namespace mus | 311 } // namespace mus |
OLD | NEW |