summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/gtk_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/common/gtk_util.h b/chrome/common/gtk_util.h
index ab0e538..f1bc1b6 100644
--- a/chrome/common/gtk_util.h
+++ b/chrome/common/gtk_util.h
@@ -134,6 +134,8 @@ void EnumerateTopLevelWindows(x11_util::EnumerateWindowsDelegate* delegate);
// Set that clicking the button with the given mouse buttons will cause a click
// event.
+// NOTE: If you need to connect to the button-press-event or
+// button-release-event signals, do so before calling this function.
void SetButtonClickableByMouseButtons(GtkWidget* button,
bool left, bool middle, bool right);