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

Unified Diff: ui/gfx/android/device_display_info.cc

Issue 2623653002: android: Remove DeviceDisplayInfo (Closed)
Patch Set: rebase Created 3 years, 11 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/gfx/android/device_display_info.h ('k') | ui/gfx/android/gfx_jni_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/android/device_display_info.cc
diff --git a/ui/gfx/android/device_display_info.cc b/ui/gfx/android/device_display_info.cc
deleted file mode 100644
index 5611a7476b32bd1eae2084959ba1993158568589..0000000000000000000000000000000000000000
--- a/ui/gfx/android/device_display_info.cc
+++ /dev/null
@@ -1,54 +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/gfx/android/device_display_info.h"
-
-#include "base/logging.h"
-#include "ui/gfx/android/shared_device_display_info.h"
-
-namespace gfx {
-
-DeviceDisplayInfo::DeviceDisplayInfo() {
-}
-
-DeviceDisplayInfo::~DeviceDisplayInfo() {
-}
-
-int DeviceDisplayInfo::GetDisplayHeight() const {
- return SharedDeviceDisplayInfo::GetInstance()->GetDisplayHeight();
-}
-
-int DeviceDisplayInfo::GetDisplayWidth() const {
- return SharedDeviceDisplayInfo::GetInstance()->GetDisplayWidth();
-}
-
-int DeviceDisplayInfo::GetPhysicalDisplayHeight() const {
- return SharedDeviceDisplayInfo::GetInstance()->GetPhysicalDisplayHeight();
-}
-
-int DeviceDisplayInfo::GetPhysicalDisplayWidth() const {
- return SharedDeviceDisplayInfo::GetInstance()->GetPhysicalDisplayWidth();
-}
-
-int DeviceDisplayInfo::GetBitsPerPixel() const {
- return SharedDeviceDisplayInfo::GetInstance()->GetBitsPerPixel();
-}
-
-int DeviceDisplayInfo::GetBitsPerComponent() const {
- return SharedDeviceDisplayInfo::GetInstance()->GetBitsPerComponent();
-}
-
-double DeviceDisplayInfo::GetDIPScale() const {
- return SharedDeviceDisplayInfo::GetInstance()->GetDIPScale();
-}
-
-int DeviceDisplayInfo::GetSmallestDIPWidth() const {
- return SharedDeviceDisplayInfo::GetInstance()->GetSmallestDIPWidth();
-}
-
-int DeviceDisplayInfo::GetRotationDegrees() const {
- return SharedDeviceDisplayInfo::GetInstance()->GetRotationDegrees();
-}
-
-} // namespace gfx
« no previous file with comments | « ui/gfx/android/device_display_info.h ('k') | ui/gfx/android/gfx_jni_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698