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 "components/mus/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 "components/mus/common/transient_window_utils.h" |
16 #include "components/mus/public/cpp/lib/window_private.h" | 16 #include "components/mus/public/cpp/lib/window_private.h" |
17 #include "components/mus/public/cpp/lib/window_tree_client_impl.h" | 17 #include "components/mus/public/cpp/lib/window_tree_client_impl.h" |
18 #include "components/mus/public/cpp/window_observer.h" | 18 #include "components/mus/public/cpp/window_observer.h" |
19 #include "components/mus/public/cpp/window_surface.h" | 19 #include "components/mus/public/cpp/window_surface.h" |
20 #include "components/mus/public/cpp/window_tracker.h" | 20 #include "components/mus/public/cpp/window_tracker.h" |
21 #include "mojo/application/public/cpp/service_provider_impl.h" | 21 #include "mojo/shell/public/cpp/service_provider_impl.h" |
22 #include "ui/gfx/geometry/rect.h" | 22 #include "ui/gfx/geometry/rect.h" |
23 #include "ui/gfx/geometry/size.h" | 23 #include "ui/gfx/geometry/size.h" |
24 | 24 |
25 namespace mus { | 25 namespace mus { |
26 | 26 |
27 namespace { | 27 namespace { |
28 | 28 |
29 void NotifyWindowTreeChangeAtReceiver( | 29 void NotifyWindowTreeChangeAtReceiver( |
30 Window* receiver, | 30 Window* receiver, |
31 const WindowObserver::TreeChangeParams& params, | 31 const WindowObserver::TreeChangeParams& params, |
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 notifier->NotifyWindowReordered(); | 812 notifier->NotifyWindowReordered(); |
813 | 813 |
814 return true; | 814 return true; |
815 } | 815 } |
816 | 816 |
817 // static | 817 // static |
818 Window** Window::GetStackingTarget(Window* window) { | 818 Window** Window::GetStackingTarget(Window* window) { |
819 return &window->stacking_target_; | 819 return &window->stacking_target_; |
820 } | 820 } |
821 } // namespace mus | 821 } // namespace mus |
OLD | NEW |