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/public/cpp/window.h" | 5 #include "services/ui/public/cpp/window.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "base/bind.h" | 13 #include "base/bind.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "components/mus/common/transient_window_utils.h" | 15 #include "services/ui/common/transient_window_utils.h" |
16 #include "components/mus/public/cpp/lib/window_private.h" | 16 #include "services/ui/public/cpp/lib/window_private.h" |
17 #include "components/mus/public/cpp/property_type_converters.h" | 17 #include "services/ui/public/cpp/property_type_converters.h" |
18 #include "components/mus/public/cpp/window_observer.h" | 18 #include "services/ui/public/cpp/window_observer.h" |
19 #include "components/mus/public/cpp/window_property.h" | 19 #include "services/ui/public/cpp/window_property.h" |
20 #include "components/mus/public/cpp/window_surface.h" | 20 #include "services/ui/public/cpp/window_surface.h" |
21 #include "components/mus/public/cpp/window_tracker.h" | 21 #include "services/ui/public/cpp/window_tracker.h" |
22 #include "components/mus/public/cpp/window_tree_client.h" | 22 #include "services/ui/public/cpp/window_tree_client.h" |
23 #include "components/mus/public/interfaces/window_manager.mojom.h" | 23 #include "services/ui/public/interfaces/window_manager.mojom.h" |
24 #include "ui/display/display.h" | 24 #include "ui/display/display.h" |
25 #include "ui/gfx/geometry/rect.h" | 25 #include "ui/gfx/geometry/rect.h" |
26 #include "ui/gfx/geometry/size.h" | 26 #include "ui/gfx/geometry/size.h" |
27 | 27 |
28 namespace mus { | 28 namespace mus { |
29 | 29 |
30 namespace { | 30 namespace { |
31 | 31 |
32 void NotifyWindowTreeChangeAtReceiver( | 32 void NotifyWindowTreeChangeAtReceiver( |
33 Window* receiver, | 33 Window* receiver, |
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 notifier->NotifyWindowReordered(); | 882 notifier->NotifyWindowReordered(); |
883 | 883 |
884 return true; | 884 return true; |
885 } | 885 } |
886 | 886 |
887 // static | 887 // static |
888 Window** Window::GetStackingTarget(Window* window) { | 888 Window** Window::GetStackingTarget(Window* window) { |
889 return &window->stacking_target_; | 889 return &window->stacking_target_; |
890 } | 890 } |
891 } // namespace mus | 891 } // namespace mus |
OLD | NEW |