Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ui / display / chromeos / x11 / display_util_x11.h
blob1bc2369e8ff6a9f19ff26bd4ab74ae28136d98f3
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_CHROMEOS_DISPLAY_UTIL_X11_H_
6 #define UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_X11_H_
8 #include <string>
10 #include "ui/display/display_export.h"
11 #include "ui/display/types/display_constants.h"
13 typedef unsigned long XID;
14 typedef XID RROutput;
16 namespace ui {
18 // Returns the DisplayConnectionType by matching known type prefixes to |name|.
19 // Returns DISPLAY_TYPE_UNKNOWN if no valid match.
20 DISPLAY_EXPORT DisplayConnectionType
21 GetDisplayConnectionTypeFromName(const std::string& name);
23 } // namespace ui
25 #endif // UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_X11_H_