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

Unified Diff: chromeos/display/real_output_configurator_delegate.cc

Issue 23286003: ash: Get output info from chromeos instead of XRandR. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use index from XRandR Created 7 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
« no previous file with comments | « chromeos/display/output_configurator.cc ('k') | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/display/real_output_configurator_delegate.cc
diff --git a/chromeos/display/real_output_configurator_delegate.cc b/chromeos/display/real_output_configurator_delegate.cc
index 6d3497be8bbe8eb8bebef2bc4fa7a5baa5580dc8..6d0c78254112c5e678f0149aefc181cb6ebd448e 100644
--- a/chromeos/display/real_output_configurator_delegate.cc
+++ b/chromeos/display/real_output_configurator_delegate.cc
@@ -327,6 +327,7 @@ RealOutputConfiguratorDelegate::InitOutputSnapshot(
output.height_mm = info->mm_height;
output.has_display_id = GetDisplayId(id, index, &output.display_id);
output.is_internal = IsInternalOutput(info);
+ output.index = index;
// Use the index as a valid display ID even if the internal
// display doesn't have valid EDID because the index
« no previous file with comments | « chromeos/display/output_configurator.cc ('k') | tools/heapcheck/suppressions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698