Index: ui/base/x/x11_util.h |
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h |
index 5f3e5021f3a4578f187d5841190da21743aa663b..f3a47549a0dba644858441b22610799d847f49f0 100644 |
--- a/ui/base/x/x11_util.h |
+++ b/ui/base/x/x11_util.h |
@@ -302,6 +302,11 @@ UI_EXPORT void SetDefaultX11ErrorHandlers(); |
// Return true if a given window is in full-screen mode. |
UI_EXPORT bool IsX11WindowFullScreen(XID window); |
+// Returns true if a given size is in list of bogus sizes in mm that X detects |
+// that should be ignored. |
+UI_EXPORT bool IsXDisplaySizeBlackListed(unsigned long mm_width, |
+ unsigned long mm_height); |
+ |
// Manages a piece of X11 allocated memory as a RefCountedMemory segment. This |
// object takes ownership over the passed in memory and will free it with the |
// X11 allocator when done. |