Index: ui/gfx/display.h |
diff --git a/ui/gfx/display.h b/ui/gfx/display.h |
index c6df7e703ad54dba04977ee2ce6ed1a6d9df791a..f06e8a15377e7399350e2186f54805a736bd19ab 100644 |
--- a/ui/gfx/display.h |
+++ b/ui/gfx/display.h |
@@ -135,6 +135,11 @@ class GFX_EXPORT Display { |
// True if the display corresponds to internal panel. |
bool IsInternal() const; |
+ // Outputs the physical dimensions of the display in millimeters. Returns true |
+ // if successful, false if a monitor isn't found or if the size information |
+ // isn't available. |
+ bool GetPhysicalSize(int* width_mm, int* height_mm) const; |
+ |
// Gets/Sets an id of display corresponding to internal panel. |
static int64_t InternalDisplayId(); |
static void SetInternalDisplayId(int64_t internal_display_id); |