| 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 "services/ui/display/platform_screen_ozone.h" | 5 #include "services/ui/display/platform_screen_ozone.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
| 12 #include "base/sys_info.h" | 12 #include "base/sys_info.h" |
| 13 #include "base/threading/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
| 14 #include "services/shell/public/cpp/interface_registry.h" | 14 #include "services/service_manager/public/cpp/interface_registry.h" |
| 15 #include "third_party/skia/include/core/SkColor.h" | 15 #include "third_party/skia/include/core/SkColor.h" |
| 16 #include "ui/display/types/display_constants.h" | 16 #include "ui/display/types/display_constants.h" |
| 17 #include "ui/display/types/display_snapshot.h" | 17 #include "ui/display/types/display_snapshot.h" |
| 18 #include "ui/display/types/native_display_delegate.h" | 18 #include "ui/display/types/native_display_delegate.h" |
| 19 #include "ui/gfx/geometry/rect.h" | 19 #include "ui/gfx/geometry/rect.h" |
| 20 #include "ui/ozone/public/ozone_platform.h" | 20 #include "ui/ozone/public/ozone_platform.h" |
| 21 | 21 |
| 22 namespace display { | 22 namespace display { |
| 23 namespace { | 23 namespace { |
| 24 | 24 |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 LOG(ERROR) << "OnDisplayModeChangeFailed from DisplayConfigurator"; | 261 LOG(ERROR) << "OnDisplayModeChangeFailed from DisplayConfigurator"; |
| 262 wait_for_display_config_update_ = false; | 262 wait_for_display_config_update_ = false; |
| 263 } | 263 } |
| 264 | 264 |
| 265 void PlatformScreenOzone::Create(const shell::Identity& remote_identity, | 265 void PlatformScreenOzone::Create(const shell::Identity& remote_identity, |
| 266 mojom::DisplayControllerRequest request) { | 266 mojom::DisplayControllerRequest request) { |
| 267 bindings_.AddBinding(this, std::move(request)); | 267 bindings_.AddBinding(this, std::move(request)); |
| 268 } | 268 } |
| 269 | 269 |
| 270 } // namespace display | 270 } // namespace display |
| OLD | NEW |