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

Unified Diff: ui/ozone/common/display_mode_proxy.cc

Issue 2928483003: Delete unnecessary mode code in ozone/drm (Closed)
Patch Set: Created 3 years, 6 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/ozone/common/display_mode_proxy.h ('k') | ui/ozone/common/display_snapshot_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/common/display_mode_proxy.cc
diff --git a/ui/ozone/common/display_mode_proxy.cc b/ui/ozone/common/display_mode_proxy.cc
deleted file mode 100644
index e1f34470255670d3026254e749142ce3a818b20e..0000000000000000000000000000000000000000
--- a/ui/ozone/common/display_mode_proxy.cc
+++ /dev/null
@@ -1,30 +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 "base/memory/ptr_util.h"
-
-#include "ui/ozone/common/display_mode_proxy.h"
-
-#include "ui/ozone/common/gpu/ozone_gpu_message_params.h"
-
-namespace ui {
-
-DisplayModeProxy::DisplayModeProxy(const DisplayMode_Params& params)
- : DisplayMode(params.size, params.is_interlaced, params.refresh_rate) {
-}
-
-DisplayModeProxy::DisplayModeProxy(const gfx::Size& size,
- bool interlaced,
- float refresh_rate)
- : DisplayMode(size, interlaced, refresh_rate) {}
-
-DisplayModeProxy::~DisplayModeProxy() {
-}
-
-std::unique_ptr<display::DisplayMode> DisplayModeProxy::Clone() const {
- return base::WrapUnique(
- new DisplayModeProxy(size(), is_interlaced(), refresh_rate()));
-}
-
-} // namespace ui
« no previous file with comments | « ui/ozone/common/display_mode_proxy.h ('k') | ui/ozone/common/display_snapshot_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698