Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(336)

Unified Diff: ui/display/chromeos/display_mode.cc

Issue 230763004: Split ui/display types into separate module and have Ozone depend on it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/display/chromeos/display_mode.h ('k') | ui/display/chromeos/display_snapshot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/chromeos/display_mode.cc
diff --git a/ui/display/chromeos/display_mode.cc b/ui/display/chromeos/display_mode.cc
deleted file mode 100644
index f4f30642fd199ff0d938809dd8ec0b5410ecde1e..0000000000000000000000000000000000000000
--- a/ui/display/chromeos/display_mode.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// 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.
-
-#include "ui/display/chromeos/display_mode.h"
-
-#include "base/strings/stringprintf.h"
-
-namespace ui {
-
-DisplayMode::DisplayMode(const gfx::Size& size,
- bool interlaced,
- float refresh_rate)
- : size_(size),
- is_interlaced_(interlaced),
- refresh_rate_(refresh_rate) {}
-
-DisplayMode::~DisplayMode() {}
-
-std::string DisplayMode::ToString() const {
- return base::StringPrintf("[%dx%d %srate=%f]",
- size_.width(),
- size_.height(),
- is_interlaced_ ? "interlaced " : "",
- refresh_rate_);
-}
-
-} // namespace ui
« no previous file with comments | « ui/display/chromeos/display_mode.h ('k') | ui/display/chromeos/display_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698