| 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 aff4665e5673cb7e461b3ae6b679e9e6d1fb2bbe..13075c0ee3cafec7579a494e8aa435ebafede29e 100644
|
| --- a/chrome/browser/ui/gtk/gtk_window_util.h
|
| +++ b/chrome/browser/ui/gtk/gtk_window_util.h
|
| @@ -8,6 +8,8 @@
|
| #include <gtk/gtk.h>
|
| #include "ui/gfx/rect.h"
|
|
|
| +class BaseWindow;
|
| +
|
| namespace content {
|
| class WebContents;
|
| }
|
| @@ -42,6 +44,12 @@ void UnMaximize(GtkWindow* window,
|
|
|
| // Set a custom WM_CLASS for a window.
|
| void SetWindowCustomClass(GtkWindow* window, const std::string& wmclass);
|
| +
|
| +// Update the origin of |bounds| and |restored_bounds| with values gotten
|
| +// from GTK.
|
| +void UpdateWindowPosition(BaseWindow* window,
|
| + gfx::Rect* bounds,
|
| + gfx::Rect* restored_bounds);
|
| } // namespace gtk_window_util
|
|
|
| #endif // CHROME_BROWSER_UI_GTK_GTK_WINDOW_UTIL_H_
|
|
|