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 #include "components/mus/ws/platform_screen_impl_ozone.h" | 5 #include "services/ui/ws/platform_screen_impl_ozone.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/location.h" | 8 #include "base/location.h" |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "base/sys_info.h" | 10 #include "base/sys_info.h" |
11 #include "base/threading/thread_task_runner_handle.h" | 11 #include "base/threading/thread_task_runner_handle.h" |
12 #include "ui/display/types/display_snapshot.h" | 12 #include "ui/display/types/display_snapshot.h" |
13 #include "ui/display/types/native_display_delegate.h" | 13 #include "ui/display/types/native_display_delegate.h" |
14 #include "ui/ozone/public/ozone_platform.h" | 14 #include "ui/ozone/public/ozone_platform.h" |
15 | 15 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 if (success) { | 117 if (success) { |
118 native_display_delegate_->GetDisplays(base::Bind(&GetDisplaysFinished)); | 118 native_display_delegate_->GetDisplays(base::Bind(&GetDisplaysFinished)); |
119 callback.Run(id, bounds); | 119 callback.Run(id, bounds); |
120 } else { | 120 } else { |
121 LOG(FATAL) << "Failed to configure display at " << bounds.ToString(); | 121 LOG(FATAL) << "Failed to configure display at " << bounds.ToString(); |
122 } | 122 } |
123 } | 123 } |
124 | 124 |
125 } // namespace ws | 125 } // namespace ws |
126 } // namespace mus | 126 } // namespace mus |
OLD | NEW |