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

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

Issue 558253003: display: Move ui/display/types/chromeos/* to ui/display/types/* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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/types/chromeos/display_mode.h ('k') | ui/display/types/chromeos/display_snapshot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/types/chromeos/display_mode.cc
diff --git a/ui/display/types/chromeos/display_mode.cc b/ui/display/types/chromeos/display_mode.cc
deleted file mode 100644
index b0d5e5603f98daa93e954213aa963e140e199e68..0000000000000000000000000000000000000000
--- a/ui/display/types/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/types/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/types/chromeos/display_mode.h ('k') | ui/display/types/chromeos/display_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698