OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 // This has to be before any other includes, else default is picked up. | 5 // This has to be before any other includes, else default is picked up. |
6 // See base/logging for details on this. | 6 // See base/logging for details on this. |
7 #define NOTIMPLEMENTED_POLICY 5 | 7 #define NOTIMPLEMENTED_POLICY 5 |
8 | 8 |
9 #include "ui/views/mus/screen_mus.h" | 9 #include "ui/views/mus/screen_mus.h" |
10 | 10 |
11 #include "services/service_manager/public/cpp/connection.h" | |
12 #include "services/service_manager/public/cpp/connector.h" | 11 #include "services/service_manager/public/cpp/connector.h" |
13 #include "services/ui/public/interfaces/constants.mojom.h" | 12 #include "services/ui/public/interfaces/constants.mojom.h" |
14 #include "ui/aura/env.h" | 13 #include "ui/aura/env.h" |
15 #include "ui/aura/mus/window_tree_host_mus.h" | 14 #include "ui/aura/mus/window_tree_host_mus.h" |
16 #include "ui/aura/window.h" | 15 #include "ui/aura/window.h" |
17 #include "ui/aura/window_tree_host.h" | 16 #include "ui/aura/window_tree_host.h" |
18 #include "ui/views/mus/screen_mus_delegate.h" | 17 #include "ui/views/mus/screen_mus_delegate.h" |
19 #include "ui/views/mus/window_manager_frame_values.h" | 18 #include "ui/views/mus/window_manager_frame_values.h" |
20 | 19 |
21 namespace mojo { | 20 namespace mojo { |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // TODO(kylechar): DisplayList would need to change to handle having no | 149 // TODO(kylechar): DisplayList would need to change to handle having no |
151 // primary display. | 150 // primary display. |
152 if (primary_display_id == display::kInvalidDisplayId) | 151 if (primary_display_id == display::kInvalidDisplayId) |
153 return; | 152 return; |
154 | 153 |
155 ProcessDisplayChanged(*display_list().FindDisplayById(primary_display_id), | 154 ProcessDisplayChanged(*display_list().FindDisplayById(primary_display_id), |
156 true); | 155 true); |
157 } | 156 } |
158 | 157 |
159 } // namespace views | 158 } // namespace views |
OLD | NEW |