Index: ui/gfx/icon_util.h |
diff --git a/ui/gfx/icon_util.h b/ui/gfx/icon_util.h |
index 960018ece0fe07839d2b7e801738e21e776a71f0..e542caec0e1dbb2d323174d738f7127f26f99bca 100644 |
--- a/ui/gfx/icon_util.h |
+++ b/ui/gfx/icon_util.h |
@@ -141,6 +141,10 @@ class GFX_EXPORT IconUtil { |
const void* dib_bits, |
size_t dib_size); |
+ // Given a valid HICON handle representing an icon, this function retrieves |
+ // the hot spot of the icon. |
+ static gfx::Point GetHotSpotFromHICON(HICON icon); |
+ |
private: |
// The icon format is published in the MSDN but there is no definition of |
// the icon file structures in any of the Windows header files so we need to |