diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 03:31:02 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-24 03:31:02 +0000 |
commit | 3a535b0727f125452cc37733fac880753b14a503 (patch) | |
tree | 1951566bcb8f62b0e4f56e211745706aee88c97b /chrome/common/gtk_util.h | |
parent | 172c55057003795131ecb2ad5dd012b0c1785171 (diff) | |
download | chromium_src-3a535b0727f125452cc37733fac880753b14a503.zip chromium_src-3a535b0727f125452cc37733fac880753b14a503.tar.gz chromium_src-3a535b0727f125452cc37733fac880753b14a503.tar.bz2 |
show back/forward menu on right click
http://crbug.com/15100
TEST=do it
Review URL: http://codereview.chromium.org/146062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/gtk_util.h')
-rw-r--r-- | chrome/common/gtk_util.h | 3 |
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_ |