summaryrefslogtreecommitdiffstats
path: root/ui/base/x/x11_util.h
diff options
context:
space:
mode:
authormukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-11 18:39:05 +0000
committermukai@chromium.org <mukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-11 18:39:05 +0000
commitd7939ac24ad1d33581c558fb72fd03b854ff1f5e (patch)
tree14071791af8791d616fb757c97cf34dcb241eb6d /ui/base/x/x11_util.h
parent4e04e13565d782702728ea01b57aee57244c4ab3 (diff)
downloadchromium_src-d7939ac24ad1d33581c558fb72fd03b854ff1f5e.zip
chromium_src-d7939ac24ad1d33581c558fb72fd03b854ff1f5e.tar.gz
chromium_src-d7939ac24ad1d33581c558fb72fd03b854ff1f5e.tar.bz2
Add a new tray item for the current multi display configuration.
Tested on lumpy. BUG=141394 Review URL: https://chromiumcodereview.appspot.com/10905097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156070 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/x/x11_util.h')
-rw-r--r--ui/base/x/x11_util.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h
index 869ef7c..66574b3 100644
--- a/ui/base/x/x11_util.h
+++ b/ui/base/x/x11_util.h
@@ -256,8 +256,13 @@ UI_EXPORT bool GetOutputDeviceData(XID output,
uint32* serial_number,
std::string* human_readable_name);
+// Gets the names of the all displays physically connected to the system.
+UI_EXPORT std::vector<std::string> GetDisplayNames(
+ const std::vector<XID>& output_id);
+
// Gets the name of outputs given by |output_id|.
-UI_EXPORT std::vector<std::string> GetOutputNames(std::vector<XID> output_id);
+UI_EXPORT std::vector<std::string> GetOutputNames(
+ const std::vector<XID>& output_id);
enum WindowManagerName {
WM_UNKNOWN,