Chromium Code Reviews| Index: ui/gfx/android/shared_device_display_info.h |
| diff --git a/ui/gfx/android/shared_device_display_info.h b/ui/gfx/android/shared_device_display_info.h |
| index 1e1fc0c666244edb1a96b060a1472ba1d8e4c852..ef73a3cb49d34f28810bab3b19ac84706d02f1a2 100644 |
| --- a/ui/gfx/android/shared_device_display_info.h |
| +++ b/ui/gfx/android/shared_device_display_info.h |
| @@ -20,6 +20,8 @@ class SharedDeviceDisplayInfo { |
| int GetDisplayHeight(); |
| int GetDisplayWidth(); |
| + int GetRealDisplayHeight(); |
| + int GetRealDisplayWidth(); |
| int GetBitsPerPixel(); |
|
no sievers
2013/12/20 19:32:45
nit: I think GetPhysicalDisplayWidth/Height() woul
epennerAtGoogle
2013/12/20 19:42:55
Will do.
|
| int GetBitsPerComponent(); |
| double GetDIPScale(); |
| @@ -32,6 +34,8 @@ class SharedDeviceDisplayInfo { |
| jobject jobj, |
| jint display_height, |
| jint display_width, |
| + jint real_display_height, |
| + jint real_display_width, |
| jint bits_per_pixel, |
| jint bits_per_component, |
| jdouble dip_scale, |
| @@ -45,6 +49,8 @@ class SharedDeviceDisplayInfo { |
| jobject jobj, |
| jint display_height, |
| jint display_width, |
| + jint real_display_height, |
| + jint real_display_width, |
| jint bits_per_pixel, |
| jint bits_per_component, |
| jdouble dip_scale, |
| @@ -55,6 +61,8 @@ class SharedDeviceDisplayInfo { |
| int display_height_; |
| int display_width_; |
| + int real_display_height_; |
| + int real_display_width_; |
| int bits_per_pixel_; |
| int bits_per_component_; |
| double dip_scale_; |