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

Side by Side Diff: services/ui/ws/focus_controller.cc

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « services/ui/ws/focus_controller.h ('k') | services/ui/ws/focus_controller_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 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
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
OLDNEW
« no previous file with comments | « services/ui/ws/focus_controller.h ('k') | services/ui/ws/focus_controller_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698