#include "ui/display/types/display_mode.h"
#include <ostream>
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "base/strings/stringprintf.h"
namespace display {
DisplayMode::DisplayMode(const gfx::Size& size,
bool interlaced,
float refresh_rate,
const std::optional<float>& vsync_rate_min)
: … { … }
DisplayMode::DisplayMode(const gfx::Size& size,
bool interlaced,
float refresh_rate)
: … { … }
DisplayMode::~DisplayMode() = default;
std::unique_ptr<DisplayMode> DisplayMode::Clone() const { … }
std::unique_ptr<DisplayMode> DisplayMode::CopyWithSize(
const gfx::Size& size) const { … }
bool DisplayMode::operator<(const DisplayMode& other) const { … }
bool DisplayMode::operator>(const DisplayMode& other) const { … }
bool DisplayMode::operator==(const DisplayMode& other) const { … }
std::string DisplayMode::ToString() const { … }
std::string DisplayMode::ToStringForTest() const { … }
void PrintTo(const DisplayMode& mode, std::ostream* os) { … }
}