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

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

Issue 93933016: Android: Add support for returning real screen resolution. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add temp point and fix braces. Created 6 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/shared_device_display_info.h » ('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
index 2de8440e1d3e2b41e9b7b0bc5384188d7fd8b929..f7c9eed85b5afc61ea6c86ba2aaa33c17920bf85 100644
--- a/ui/gfx/android/device_display_info.cc
+++ b/ui/gfx/android/device_display_info.cc
@@ -23,6 +23,14 @@ int DeviceDisplayInfo::GetDisplayWidth() {
return SharedDeviceDisplayInfo::GetInstance()->GetDisplayWidth();
}
+int DeviceDisplayInfo::GetPhysicalDisplayHeight() {
+ return SharedDeviceDisplayInfo::GetInstance()->GetPhysicalDisplayHeight();
+}
+
+int DeviceDisplayInfo::GetPhysicalDisplayWidth() {
+ return SharedDeviceDisplayInfo::GetInstance()->GetPhysicalDisplayWidth();
+}
+
int DeviceDisplayInfo::GetBitsPerPixel() {
return SharedDeviceDisplayInfo::GetInstance()->GetBitsPerPixel();
}
« no previous file with comments | « ui/gfx/android/device_display_info.h ('k') | ui/gfx/android/shared_device_display_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698