Remove unused parameter.
[chromium-blink-merge.git] / ui / display / util / x11 / edid_parser_x11.h
blob55048e699e4a26c1cdbe3b57082c18f606e0fac8
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_DISPLAY_UTIL_X11_EDID_PARSER_X11_H_
6 #define UI_DISPLAY_UTIL_X11_EDID_PARSER_X11_H_
8 #include <stdint.h>
10 #include <string>
12 #include "ui/display/types/display_constants.h"
13 #include "ui/display/util/display_util_export.h"
15 typedef unsigned long XID;
16 typedef XID RROutput;
18 // Xrandr utility functions to help get EDID information.
20 namespace ui {
22 // Gets the EDID data from |output| and generates the display id through
23 // |GetDisplayIdFromEDID|.
24 DISPLAY_UTIL_EXPORT bool GetDisplayId(XID output,
25 uint8_t index,
26 int64_t* display_id_out);
28 // Generate the human readable string from EDID obtained from |output|.
29 DISPLAY_UTIL_EXPORT std::string GetDisplayName(RROutput output);
31 // Gets the overscan flag from |output| and stores to |flag|. Returns true if
32 // the flag is found. Otherwise returns false and doesn't touch |flag|. The
33 // output will produce overscan if |flag| is set to true, but the output may
34 // still produce overscan even though it returns true and |flag| is set to
35 // false.
36 DISPLAY_UTIL_EXPORT bool GetOutputOverscanFlag(RROutput output, bool* flag);
38 } // namespace ui
40 #endif // UI_DISPLAY_UTIL_X11_EDID_PARSER_X11_H_