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 "components/bitmap_uploader/bitmap_uploader.h" | 7 #include "components/bitmap_uploader/bitmap_uploader.h" |
8 #include "mojo/application/public/interfaces/shell.mojom.h" | 8 #include "mojo/shell/public/interfaces/shell.mojom.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/base/view_prop.h" | 11 #include "ui/base/view_prop.h" |
12 #include "ui/events/event.h" | 12 #include "ui/events/event.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 #include "ui/views/mus/platform_window_mus.h" | 15 #include "ui/views/mus/platform_window_mus.h" |
16 | 16 |
17 namespace views { | 17 namespace views { |
18 | 18 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 if (native_widget_) | 80 if (native_widget_) |
81 native_widget_->OnActivationChanged(active); | 81 native_widget_->OnActivationChanged(active); |
82 WindowTreeHostPlatform::OnActivationChanged(active); | 82 WindowTreeHostPlatform::OnActivationChanged(active); |
83 } | 83 } |
84 | 84 |
85 void WindowTreeHostMus::OnCloseRequest() { | 85 void WindowTreeHostMus::OnCloseRequest() { |
86 OnHostCloseRequested(); | 86 OnHostCloseRequested(); |
87 } | 87 } |
88 | 88 |
89 } // namespace views | 89 } // namespace views |
OLD | NEW |