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

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

Issue 2270553002: Move ash::DisplayInfo to ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build 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/display_preferences.cc
diff --git a/chrome/browser/chromeos/display/display_preferences.cc b/chrome/browser/chromeos/display/display_preferences.cc
index 05b312f0f0740b273349a3ce608cf808d27d816e..93203e9964070ceb7bdc485c28c4bb9a4abf742d 100644
--- a/chrome/browser/chromeos/display/display_preferences.cc
+++ b/chrome/browser/chromeos/display/display_preferences.cc
@@ -253,7 +253,7 @@ void StoreCurrentDisplayProperties() {
for (size_t i = 0; i < num; ++i) {
const display::Display& display = display_manager->GetDisplayAt(i);
int64_t id = display.id();
- ash::DisplayInfo info = display_manager->GetDisplayInfo(id);
+ ui::ManagedDisplayInfo info = display_manager->GetDisplayInfo(id);
std::unique_ptr<base::DictionaryValue> property_value(
new base::DictionaryValue());
@@ -267,7 +267,7 @@ void StoreCurrentDisplayProperties() {
property_value->SetInteger(
"ui-scale", static_cast<int>(info.configured_ui_scale() * 1000));
- scoped_refptr<ash::ManagedDisplayMode> mode =
+ scoped_refptr<ui::ManagedDisplayMode> mode =
display_manager->GetSelectedModeForDisplayId(id);
if (!display.IsInternal() && mode && !mode->native()) {
property_value->SetInteger("width", mode->size().width());

Powered by Google App Engine
This is Rietveld 408576698