diff options
author | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-10 19:28:45 +0000 |
---|---|---|
committer | oshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-10 19:28:45 +0000 |
commit | 6d980bca39d438f54288695389ed163bbf505f82 (patch) | |
tree | ceb467ec051a371fbe9986cd2d95adab14c161da /ui/base/x/x11_util.h | |
parent | e666aaf5251e3272da232ba2ce5f0a039da259f4 (diff) | |
download | chromium_src-6d980bca39d438f54288695389ed163bbf505f82.zip chromium_src-6d980bca39d438f54288695389ed163bbf505f82.tar.gz chromium_src-6d980bca39d438f54288695389ed163bbf505f82.tar.bz2 |
Don't update display info when brightness is set to 0, or device goes to sleep/suspend.
In either case, the display info will be updated properly
when they're turned on, so no need to change them when disconnected.
BUG=145627, 146899
TEST=added new tests. also tested manually. See bug for repro step (145627)
Review URL: https://chromiumcodereview.appspot.com/10917159
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155798 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/x/x11_util.h')
-rw-r--r-- | ui/base/x/x11_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h index d60b4d2..869ef7c 100644 --- a/ui/base/x/x11_util.h +++ b/ui/base/x/x11_util.h @@ -256,6 +256,9 @@ UI_EXPORT bool GetOutputDeviceData(XID output, uint32* serial_number, std::string* human_readable_name); +// Gets the name of outputs given by |output_id|. +UI_EXPORT std::vector<std::string> GetOutputNames(std::vector<XID> output_id); + enum WindowManagerName { WM_UNKNOWN, WM_BLACKBOX, |