#ifndef UI_DISPLAY_CHROMEOS_X11_DISPLAY_SNAPSHOT_X11_H_
#define UI_DISPLAY_CHROMEOS_X11_DISPLAY_SNAPSHOT_X11_H_
#include "ui/display/chromeos/display_snapshot.h"
typedef unsigned long XID;
typedef XID RROutput;
typedef XID RRCrtc;
namespace ui {
class DISPLAY_EXPORT DisplaySnapshotX11 : public DisplaySnapshot {
public:
DisplaySnapshotX11(int64_t display_id,
bool has_proper_display_id,
const gfx::Point& origin,
const gfx::Size& physical_size,
OutputType type,
bool is_aspect_preserving_scaling,
bool has_overscan,
std::string display_name,
const std::vector<const DisplayMode*>& modes,
const DisplayMode* current_mode,
const DisplayMode* native_mode,
RROutput output,
RRCrtc crtc,
int index);
virtual ~DisplaySnapshotX11();
RROutput output() const { return output_; }
RRCrtc crtc() const { return crtc_; }
int index() const { return index_; }
virtual std::string ToString() const OVERRIDE;
private:
RROutput output_;
RRCrtc crtc_;
int index_;
DISALLOW_COPY_AND_ASSIGN(DisplaySnapshotX11);
};
}
#endif