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

Unified Diff: ui/base/x/x11_util.h

Issue 15067012: Move chromeos specific utility functions for display to chromeos/display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added test Created 7 years, 7 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/real_output_configurator_delegate.cc ('k') | ui/base/x/x11_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/x/x11_util.h
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h
index 3e159795e35502e8549cd2e78d5003e617ffa0bc..940875a2bafbf42fdf8c96bca29910d540edadea 100644
--- a/ui/base/x/x11_util.h
+++ b/ui/base/x/x11_util.h
@@ -271,38 +271,6 @@ UI_EXPORT void PutARGBImage(Display* display,
void FreePicture(Display* display, XID picture);
void FreePixmap(Display* display, XID pixmap);
-// Gets some useful data from the specified output device, such like
-// manufacturer's ID, product code, and human readable name. Returns false if it
-// fails to get those data and doesn't touch manufacturer ID/product code/name.
-// NULL can be passed for unwanted output parameters.
-UI_EXPORT bool GetOutputDeviceData(XID output,
- uint16* manufacturer_id,
- uint16* product_code,
- std::string* human_readable_name);
-
-// Gets the overscan flag from |output| and stores to |flag|. Returns true if
-// the flag is found. Otherwise returns false and doesn't touch |flag|. The
-// output will produce overscan if |flag| is set to true, but the output may
-// still produce overscan even though it returns true and |flag| is set to
-// false.
-UI_EXPORT bool GetOutputOverscanFlag(XID output, bool* flag);
-
-// Parses |prop| as EDID data and stores extracted data into |manufacturer_id|,
-// |product_code|, and |human_readable_name| and returns true. NULL can be
-// passed for unwanted output parameters. This is exported for
-// x11_util_unittest.cc.
-UI_EXPORT bool ParseOutputDeviceData(const unsigned char* prop,
- unsigned long nitems,
- uint16* manufacturer_id,
- uint16* product_code,
- std::string* human_readable_name);
-
-// Parses |prop| as EDID data and stores the overscan flag to |flag|. Returns
-// true if the flag is found. This is exported for x11_util_unittest.cc.
-UI_EXPORT bool ParseOutputOverscanFlag(const unsigned char* prop,
- unsigned long nitems,
- bool* flag);
-
enum WindowManagerName {
WM_UNKNOWN,
WM_BLACKBOX,
« no previous file with comments | « chromeos/display/real_output_configurator_delegate.cc ('k') | ui/base/x/x11_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698