OLD | NEW |
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 "ui/views/mus/window_tree_host_mus.h" | 5 #include "ui/views/mus/window_tree_host_mus.h" |
6 | 6 |
7 #include "base/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "components/mus/public/cpp/window.h" | 8 #include "services/ui/public/cpp/window.h" |
9 #include "ui/aura/window.h" | 9 #include "ui/aura/window.h" |
10 #include "ui/aura/window_event_dispatcher.h" | 10 #include "ui/aura/window_event_dispatcher.h" |
11 #include "ui/events/event.h" | 11 #include "ui/events/event.h" |
12 #include "ui/platform_window/stub/stub_window.h" | 12 #include "ui/platform_window/stub/stub_window.h" |
13 #include "ui/views/mus/input_method_mus.h" | 13 #include "ui/views/mus/input_method_mus.h" |
14 #include "ui/views/mus/native_widget_mus.h" | 14 #include "ui/views/mus/native_widget_mus.h" |
15 | 15 |
16 namespace views { | 16 namespace views { |
17 | 17 |
18 namespace { | 18 namespace { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 if (native_widget_) | 83 if (native_widget_) |
84 native_widget_->OnActivationChanged(active); | 84 native_widget_->OnActivationChanged(active); |
85 WindowTreeHostPlatform::OnActivationChanged(active); | 85 WindowTreeHostPlatform::OnActivationChanged(active); |
86 } | 86 } |
87 | 87 |
88 void WindowTreeHostMus::OnCloseRequest() { | 88 void WindowTreeHostMus::OnCloseRequest() { |
89 OnHostCloseRequested(); | 89 OnHostCloseRequested(); |
90 } | 90 } |
91 | 91 |
92 } // namespace views | 92 } // namespace views |
OLD | NEW |