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

Unified Diff: chromeos/display/output_configurator.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.h ('k') | chromeos/display/real_output_configurator_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/display/output_configurator.cc
diff --git a/chromeos/display/output_configurator.cc b/chromeos/display/output_configurator.cc
index b774e312a5c1aaf41c03040a953c01d5d93c8ddf..4e8f2a861c180f430b144d131a2c32a3c635ee09 100644
--- a/chromeos/display/output_configurator.cc
+++ b/chromeos/display/output_configurator.cc
@@ -103,6 +103,11 @@ OutputConfigurator::ModeInfo::ModeInfo()
height(0),
interlaced(false) {}
+OutputConfigurator::ModeInfo::ModeInfo(int width, int height, bool interlaced)
+ : width(width),
+ height(height),
+ interlaced(interlaced) {}
+
OutputConfigurator::CoordinateTransformation::CoordinateTransformation()
: x_scale(1.0),
x_offset(0.0),
@@ -124,7 +129,8 @@ OutputConfigurator::OutputSnapshot::OutputSnapshot()
is_aspect_preserving_scaling(false),
touch_device_id(0),
display_id(0),
- has_display_id(false) {}
+ has_display_id(false),
+ index(0) {}
OutputConfigurator::OutputSnapshot::~OutputSnapshot() {}
« no previous file with comments | « chromeos/display/output_configurator.h ('k') | chromeos/display/real_output_configurator_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698