blob: 1bc2369e8ff6a9f19ff26bd4ab74ae28136d98f3 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_X11_H_
#define UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_X11_H_
#include <string>
#include "ui/display/display_export.h"
#include "ui/display/types/display_constants.h"
typedef unsigned long XID;
typedef XID RROutput;
namespace ui {
// Returns the DisplayConnectionType by matching known type prefixes to |name|.
// Returns DISPLAY_TYPE_UNKNOWN if no valid match.
DISPLAY_EXPORT DisplayConnectionType
GetDisplayConnectionTypeFromName(const std::string& name);
} // namespace ui
#endif // UI_DISPLAY_CHROMEOS_DISPLAY_UTIL_X11_H_