| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/server_window.h" | 5 #include "services/ui/ws/server_window.h" |
| 6 | 6 |
| 7 #include <inttypes.h> | 7 #include <inttypes.h> |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
| 11 #include "components/mus/common/transient_window_utils.h" | 11 #include "services/ui/common/transient_window_utils.h" |
| 12 #include "components/mus/public/interfaces/window_manager.mojom.h" | 12 #include "services/ui/public/interfaces/window_manager.mojom.h" |
| 13 #include "components/mus/ws/server_window_delegate.h" | 13 #include "services/ui/ws/server_window_delegate.h" |
| 14 #include "components/mus/ws/server_window_observer.h" | 14 #include "services/ui/ws/server_window_observer.h" |
| 15 #include "components/mus/ws/server_window_surface_manager.h" | 15 #include "services/ui/ws/server_window_surface_manager.h" |
| 16 | 16 |
| 17 namespace mus { | 17 namespace mus { |
| 18 | 18 |
| 19 namespace ws { | 19 namespace ws { |
| 20 | 20 |
| 21 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, const WindowId& id) | 21 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, const WindowId& id) |
| 22 : ServerWindow(delegate, id, Properties()) {} | 22 : ServerWindow(delegate, id, Properties()) {} |
| 23 | 23 |
| 24 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, | 24 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, |
| 25 const WindowId& id, | 25 const WindowId& id, |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 } | 461 } |
| 462 | 462 |
| 463 // static | 463 // static |
| 464 ServerWindow** ServerWindow::GetStackingTarget(ServerWindow* window) { | 464 ServerWindow** ServerWindow::GetStackingTarget(ServerWindow* window) { |
| 465 return &window->stacking_target_; | 465 return &window->stacking_target_; |
| 466 } | 466 } |
| 467 | 467 |
| 468 } // namespace ws | 468 } // namespace ws |
| 469 | 469 |
| 470 } // namespace mus | 470 } // namespace mus |
| OLD | NEW |