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

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: 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 | « ash/display/display_info.cc ('k') | ash/display/display_util_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_util_x11.h
diff --git a/ash/display/display_util_x11.h b/ash/display/display_util_x11.h
deleted file mode 100644
index 6647688ce1c79340d7e5196dc8d4aea0dc244443..0000000000000000000000000000000000000000
--- a/ash/display/display_util_x11.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_DISPLAY_DISPLAY_UTIL_X11_H_
-#define ASH_DISPLAY_DISPLAY_UTIL_X11_H_
-
-#include <vector>
-
-#include "ash/ash_export.h"
-#include "ash/display/display_info.h"
-
-struct _XRRScreenResources;
-typedef _XRRScreenResources XRRScreenResources;
-struct _XRROutputInfo;
-typedef _XRROutputInfo XRROutputInfo;
-
-namespace ash {
-namespace internal {
-struct Resolution;
-
-// Returns true if the size info in the output_info isn't valid
-// and should be ignored. This is exposed for testing.
-// |mm_width| and |mm_height| are given in millimeters.
-ASH_EXPORT bool ShouldIgnoreSize(unsigned long mm_width,
- unsigned long mm_height);
-
-// Returns the resolution list.
-ASH_EXPORT std::vector<Resolution> GetResolutionList(
- XRRScreenResources* screen_resources,
- XRROutputInfo* output_info);
-
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_DISPLAY_DISPLAY_UTIL_X11_H_
« no previous file with comments | « ash/display/display_info.cc ('k') | ash/display/display_util_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698