Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2397)

Unified Diff: ash/display/display_configuration_controller.cc

Issue 1838833002: Move DisplayLayout and DisplayLayoutBuilder From ash To ui/display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screenwinmove
Patch Set: Fix comment Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/display/display_configuration_controller.h ('k') | ash/display/display_layout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_configuration_controller.cc
diff --git a/ash/display/display_configuration_controller.cc b/ash/display/display_configuration_controller.cc
index 9fdf8bea67232e4762d751723d8c0163ac1c29d9..3110858b6f02ed20bc471fbbd3fae49ba28c0b85 100644
--- a/ash/display/display_configuration_controller.cc
+++ b/ash/display/display_configuration_controller.cc
@@ -5,11 +5,11 @@
#include "ash/display/display_configuration_controller.h"
#include "ash/display/display_animator.h"
-#include "ash/display/display_layout.h"
#include "ash/display/display_manager.h"
#include "ash/rotator/screen_rotation_animator.h"
#include "ash/screen_util.h"
#include "base/time/time.h"
+#include "ui/display/manager/display_layout.h"
#if defined(OS_CHROMEOS)
#include "ash/display/display_animator_chromeos.h"
@@ -68,7 +68,7 @@ DisplayConfigurationController::~DisplayConfigurationController() {
}
void DisplayConfigurationController::SetDisplayLayout(
- scoped_ptr<DisplayLayout> layout,
+ scoped_ptr<display::DisplayLayout> layout,
bool user_action) {
if (user_action && display_animator_) {
display_animator_->StartFadeOutAnimation(
@@ -147,7 +147,7 @@ bool DisplayConfigurationController::IsLimited() {
}
void DisplayConfigurationController::SetDisplayLayoutImpl(
- scoped_ptr<DisplayLayout> layout) {
+ scoped_ptr<display::DisplayLayout> layout) {
// TODO(oshima/stevenjb): Add support for 3+ displays.
display_manager_->SetLayoutForCurrentDisplays(std::move(layout));
if (display_animator_)
« no previous file with comments | « ash/display/display_configuration_controller.h ('k') | ash/display/display_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698