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

Unified Diff: chrome/browser/chromeos/display/overscan_calibrator.cc

Issue 2270553002: Move ash::DisplayInfo to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 4 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
Index: chrome/browser/chromeos/display/overscan_calibrator.cc
diff --git a/chrome/browser/chromeos/display/overscan_calibrator.cc b/chrome/browser/chromeos/display/overscan_calibrator.cc
index d26e7e580b96c11d5f13c2a9126be9f1a958a3f4..c2c7155b7c5ffb4d3ea7255d6632dc682e665570 100644
--- a/chrome/browser/chromeos/display/overscan_calibrator.cc
+++ b/chrome/browser/chromeos/display/overscan_calibrator.cc
@@ -8,7 +8,6 @@
#include <limits>
-#include "ash/common/display/display_info.h"
#include "ash/common/shell_window_ids.h"
#include "ash/display/display_manager.h"
#include "ash/display/window_tree_host_manager.h"
@@ -20,6 +19,7 @@
#include "ui/aura/window.h"
#include "ui/compositor/layer.h"
#include "ui/compositor/paint_recorder.h"
+#include "ui/display/manager/managed_display_info.h"
#include "ui/gfx/canvas.h"
namespace chromeos {
@@ -82,7 +82,7 @@ OverscanCalibrator::OverscanCalibrator(const display::Display& target_display,
ash::Shell::GetInstance()->window_tree_host_manager()->SetOverscanInsets(
display_.id(), gfx::Insets());
- ash::DisplayInfo info =
+ display::ManagedDisplayInfo info =
ash::Shell::GetInstance()->display_manager()->GetDisplayInfo(
display_.id());

Powered by Google App Engine
This is Rietveld 408576698