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

Unified Diff: ui/aura/monitor.cc

Issue 9960042: Refactor screen/monitor so that gfx::Screen returns monitor object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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/aura/monitor.h ('k') | ui/aura/monitor_change_observer_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/monitor.cc
diff --git a/ui/aura/monitor.cc b/ui/aura/monitor.cc
deleted file mode 100644
index 52d64f01cb2a3df6cd39497ce4894123a4670f31..0000000000000000000000000000000000000000
--- a/ui/aura/monitor.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2012 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/aura/monitor.h"
-
-namespace aura {
-
-Monitor::Monitor() : device_scale_factor_(1.0f) {
-}
-
-Monitor::~Monitor() {
-}
-
-gfx::Rect Monitor::GetWorkAreaBounds() const {
- // TODO(oshima): For m19, work area/monitor bounds has (0,0) origin
- // because it's simpler and enough. Fix this when real multi monitor
- // support is implemented.
- gfx::Rect bounds(bounds_.size());
- bounds.Inset(work_area_insets_);
- return bounds;
-}
-
-} // namespace aura
« no previous file with comments | « ui/aura/monitor.h ('k') | ui/aura/monitor_change_observer_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698