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

Unified Diff: ash/display/display_util_x11.h

Issue 23286003: ash: Get output info from chromeos instead of XRandR. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: ash/display/display_util_x11.h
diff --git a/ash/display/display_util_x11.h b/ash/display/display_util_x11.h
index 6647688ce1c79340d7e5196dc8d4aea0dc244443..c121859e87c4ae977f4d400499d6f5f4df143c6d 100644
--- a/ash/display/display_util_x11.h
+++ b/ash/display/display_util_x11.h
@@ -9,11 +9,7 @@
#include "ash/ash_export.h"
#include "ash/display/display_info.h"
-
-struct _XRRScreenResources;
-typedef _XRRScreenResources XRRScreenResources;
-struct _XRROutputInfo;
-typedef _XRROutputInfo XRROutputInfo;
+#include "chromeos/display/output_configurator.h"
namespace ash {
namespace internal {
@@ -27,8 +23,7 @@ ASH_EXPORT bool ShouldIgnoreSize(unsigned long mm_width,
// Returns the resolution list.
ASH_EXPORT std::vector<Resolution> GetResolutionList(
- XRRScreenResources* screen_resources,
- XRROutputInfo* output_info);
+ const chromeos::OutputConfigurator::OutputSnapshot& output);
} // namespace internal
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698