| 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/screen_manager_ozone.h" | 5 #include "services/ui/display/screen_manager_ozone.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 DVLOG(1) << "Set primary display to " << primary_display_id_; | 352 DVLOG(1) << "Set primary display to " << primary_display_id_; |
| 353 screen_->display_list().UpdateDisplay(primary_display, | 353 screen_->display_list().UpdateDisplay(primary_display, |
| 354 DisplayList::Type::PRIMARY); | 354 DisplayList::Type::PRIMARY); |
| 355 delegate_->OnPrimaryDisplayChanged(primary_display_id_); | 355 delegate_->OnPrimaryDisplayChanged(primary_display_id_); |
| 356 } | 356 } |
| 357 } | 357 } |
| 358 | 358 |
| 359 DVLOG(1) << "PostDisplayConfigurationChange"; | 359 DVLOG(1) << "PostDisplayConfigurationChange"; |
| 360 } | 360 } |
| 361 | 361 |
| 362 ui::DisplayConfigurator* ScreenManagerOzone::display_configurator() { | 362 DisplayConfigurator* ScreenManagerOzone::display_configurator() { |
| 363 return &display_configurator_; | 363 return &display_configurator_; |
| 364 } | 364 } |
| 365 | 365 |
| 366 void ScreenManagerOzone::Create( | 366 void ScreenManagerOzone::Create( |
| 367 const service_manager::Identity& remote_identity, | 367 const service_manager::Identity& remote_identity, |
| 368 mojom::DisplayControllerRequest request) { | 368 mojom::DisplayControllerRequest request) { |
| 369 controller_bindings_.AddBinding(this, std::move(request)); | 369 controller_bindings_.AddBinding(this, std::move(request)); |
| 370 } | 370 } |
| 371 | 371 |
| 372 void ScreenManagerOzone::Create( | 372 void ScreenManagerOzone::Create( |
| 373 const service_manager::Identity& remote_identity, | 373 const service_manager::Identity& remote_identity, |
| 374 mojom::TestDisplayControllerRequest request) { | 374 mojom::TestDisplayControllerRequest request) { |
| 375 test_bindings_.AddBinding(this, std::move(request)); | 375 test_bindings_.AddBinding(this, std::move(request)); |
| 376 } | 376 } |
| 377 | 377 |
| 378 } // namespace display | 378 } // namespace display |
| OLD | NEW |