summaryrefslogtreecommitdiffstats
path: root/chrome/common/gtk_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r--chrome/common/gtk_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h
index a8aa205..e4e7da3 100644
--- a/chrome/common/gtk_util.h
+++ b/chrome/common/gtk_util.h
@@ -101,6 +101,9 @@ void SetButtonTriggersNavigation(GtkWidget* button);
// the original value is returned unchanged.
int MirroredLeftPointForRect(GtkWidget* widget, const gfx::Rect& bounds);
+// Returns true if the pointer is currently inside the widget.
+bool WidgetContainsCursor(GtkWidget* widget);
+
} // namespace gtk_util
#endif // CHROME_COMMON_GTK_UTIL_H_