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 #include "ui/display/types/display_mode.h"
7 #include "base/strings/stringprintf.h"
11 DisplayMode::DisplayMode(const gfx::Size
& size
,
15 is_interlaced_(interlaced
),
16 refresh_rate_(refresh_rate
) {}
18 DisplayMode::~DisplayMode() {}
20 std::string
DisplayMode::ToString() const {
21 return base::StringPrintf("[%dx%d %srate=%f]",
24 is_interlaced_
? "interlaced " : "",