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 "components/mus/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 "components/mus/common/transient_window_utils.h" |
12 #include "components/mus/public/interfaces/window_manager.mojom.h" | 12 #include "components/mus/public/interfaces/window_manager.mojom.h" |
13 #include "components/mus/ws/server_window_delegate.h" | 13 #include "components/mus/ws/server_window_delegate.h" |
14 #include "components/mus/ws/server_window_observer.h" | 14 #include "components/mus/ws/server_window_observer.h" |
15 #include "components/mus/ws/server_window_surface_manager.h" | 15 #include "components/mus/ws/server_window_surface_manager.h" |
16 #include "mojo/converters/geometry/geometry_type_converters.h" | 16 #include "ui/gfx/geometry/mojo/geometry_type_converters.h" |
17 | 17 |
18 namespace mus { | 18 namespace mus { |
19 | 19 |
20 namespace ws { | 20 namespace ws { |
21 | 21 |
22 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, const WindowId& id) | 22 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, const WindowId& id) |
23 : ServerWindow(delegate, id, Properties()) {} | 23 : ServerWindow(delegate, id, Properties()) {} |
24 | 24 |
25 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, | 25 ServerWindow::ServerWindow(ServerWindowDelegate* delegate, |
26 const WindowId& id, | 26 const WindowId& id, |
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 } | 462 } |
463 | 463 |
464 // static | 464 // static |
465 ServerWindow** ServerWindow::GetStackingTarget(ServerWindow* window) { | 465 ServerWindow** ServerWindow::GetStackingTarget(ServerWindow* window) { |
466 return &window->stacking_target_; | 466 return &window->stacking_target_; |
467 } | 467 } |
468 | 468 |
469 } // namespace ws | 469 } // namespace ws |
470 | 470 |
471 } // namespace mus | 471 } // namespace mus |
OLD | NEW |