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_
10 #include "ui/display/display_export.h"
11 #include "ui/display/types/display_constants.h"
13 typedef unsigned long XID
;
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
);
25 #endif // UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_X11_H_