Index: ui/base/x/x11_util.h |
diff --git a/ui/base/x/x11_util.h b/ui/base/x/x11_util.h |
index 053008f4f56d463d867d67dac4505a98f16cbbf9..b1a6e4d82c9d417861fe51bcbf66f50fb58c8717 100644 |
--- a/ui/base/x/x11_util.h |
+++ b/ui/base/x/x11_util.h |
@@ -145,6 +145,9 @@ UI_EXPORT bool IsWindowVisible(XID window); |
// Returns the bounds of |window|. |
UI_EXPORT bool GetWindowRect(XID window, gfx::Rect* rect); |
+// Returns true if |window| contains the point |screen_loc|. |
+UI_EXPORT bool WindowContainsPoint(XID window, gfx::Point screen_loc); |
+ |
// Return true if |window| has any property with |property_name|. |
UI_EXPORT bool PropertyExists(XID window, const std::string& property_name); |