#ifndef UI_DISPLAY_CHROMEOS_DISPLAY_MODE_H_
#define UI_DISPLAY_CHROMEOS_DISPLAY_MODE_H_
#include <string>
#include "base/macros.h"
#include "ui/display/display_export.h"
#include "ui/gfx/geometry/size.h"
namespace ui {
class DISPLAY_EXPORT DisplayMode {
public:
DisplayMode(const gfx::Size& size, bool interlaced, float refresh_rate);
virtual ~DisplayMode();
const gfx::Size& size() const { return size_; }
bool is_interlaced() const { return is_interlaced_; }
float refresh_rate() const { return refresh_rate_; }
virtual std::string ToString() const;
private:
gfx::Size size_;
bool is_interlaced_;
float refresh_rate_;
DISALLOW_COPY_AND_ASSIGN(DisplayMode);
};
}
#endif