| Index: chrome/browser/ui/gtk/gtk_window_util.h
|
| diff --git a/chrome/browser/ui/gtk/gtk_window_util.h b/chrome/browser/ui/gtk/gtk_window_util.h
|
| index 8783f1c3a615a5ffde01b9e4a893c366f7afea0a..74629133ca2eb040184ee365401238a928550646 100644
|
| --- a/chrome/browser/ui/gtk/gtk_window_util.h
|
| +++ b/chrome/browser/ui/gtk/gtk_window_util.h
|
| @@ -6,6 +6,7 @@
|
| #define CHROME_BROWSER_UI_GTK_GTK_WINDOW_UTIL_H_
|
|
|
| #include <gtk/gtk.h>
|
| +#include "ui/gfx/rect.h"
|
|
|
| namespace content {
|
| class WebContents;
|
| @@ -26,6 +27,14 @@ void DisableResizeGrip(GtkWindow* window);
|
| // Returns the resize cursor corresponding to the window |edge|.
|
| GdkCursorType GdkWindowEdgeToGdkCursorType(GdkWindowEdge edge);
|
|
|
| +// Returns |true| if the window bounds match the monitor size.
|
| +bool BoundsMatchMonitorSize(GtkWindow* window, gfx::Rect bounds);
|
| +
|
| +bool HandleTitleBarLeftMousePress(GtkWindow* window,
|
| + gfx::Rect bounds,
|
| + GdkEventButton* event,
|
| + guint32 last_click_time,
|
| + gfx::Point last_click_position);
|
| } // namespace gtk_window_util
|
|
|
| #endif // CHROME_BROWSER_UI_GTK_GTK_WINDOW_UTIL_H_
|
|
|