diff options
Diffstat (limited to 'chrome/browser/gtk/gtk_util.h')
-rw-r--r-- | chrome/browser/gtk/gtk_util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/gtk_util.h b/chrome/browser/gtk/gtk_util.h index 9a65193..b100b1d 100644 --- a/chrome/browser/gtk/gtk_util.h +++ b/chrome/browser/gtk/gtk_util.h @@ -256,6 +256,10 @@ WindowOpenDisposition DispositionForCurrentButtonPressEvent(); // for success. bool GrabAllInput(GtkWidget* widget); +// Returns a rectangle that represents the widget's bounds. The rectangle it +// returns is the same as widget->allocation, but anchored at (0, 0). +gfx::Rect WidgetBounds(GtkWidget* widget); + } // namespace gtk_util #endif // CHROME_BROWSER_GTK_GTK_UTIL_H_ |