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/native_widget_mus.h" | 5 #include "ui/views/mus/native_widget_mus.h" |
6 | 6 |
7 #include "base/macros.h" | 7 #include "base/macros.h" |
8 #include "base/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
9 #include "components/mus/public/cpp/property_type_converters.h" | 9 #include "components/mus/public/cpp/property_type_converters.h" |
10 #include "components/mus/public/cpp/window.h" | 10 #include "components/mus/public/cpp/window.h" |
11 #include "components/mus/public/cpp/window_observer.h" | 11 #include "components/mus/public/cpp/window_observer.h" |
12 #include "components/mus/public/cpp/window_property.h" | 12 #include "components/mus/public/cpp/window_property.h" |
13 #include "components/mus/public/cpp/window_tree_connection.h" | 13 #include "components/mus/public/cpp/window_tree_connection.h" |
14 #include "components/mus/public/interfaces/cursor.mojom.h" | 14 #include "components/mus/public/interfaces/cursor.mojom.h" |
15 #include "mojo/converters/geometry/geometry_type_converters.h" | 15 #include "mojo/converters/geometry/geometry_type_converters.h" |
16 #include "ui/aura/client/default_capture_client.h" | 16 #include "ui/aura/client/default_capture_client.h" |
17 #include "ui/aura/client/window_tree_client.h" | 17 #include "ui/aura/client/window_tree_client.h" |
18 #include "ui/aura/env.h" | 18 #include "ui/aura/env.h" |
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1134 window_tree_host_->Show(); | 1134 window_tree_host_->Show(); |
1135 GetNativeWindow()->Show(); | 1135 GetNativeWindow()->Show(); |
1136 } else { | 1136 } else { |
1137 window_tree_host_->Hide(); | 1137 window_tree_host_->Hide(); |
1138 GetNativeWindow()->Hide(); | 1138 GetNativeWindow()->Hide(); |
1139 } | 1139 } |
1140 native_widget_delegate_->OnNativeWidgetVisibilityChanged(window->visible()); | 1140 native_widget_delegate_->OnNativeWidgetVisibilityChanged(window->visible()); |
1141 } | 1141 } |
1142 | 1142 |
1143 } // namespace views | 1143 } // namespace views |
OLD | NEW |