diff options
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r-- | chrome/common/gtk_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h index 92ea54e..b996c07 100644 --- a/chrome/common/gtk_util.h +++ b/chrome/common/gtk_util.h @@ -100,6 +100,12 @@ class EnumerateWindowsDelegate { // Enumerates the top-level gdk windows of the current display. void EnumerateChildWindows(EnumerateWindowsDelegate* delegate); +// Set that a button causes a page navigation. In particular, it will accept +// middle clicks. Warning: only call this *after* you have connected your +// own handlers for button-press and button-release events, or you will not get +// those events. +void SetButtonTriggersNavigation(GtkWidget* button); + } // namespace gtk_util #endif // CHROME_COMMON_GTK_UTIL_H_ |