| Index: chrome/browser/ui/gtk/extensions/shell_window_gtk.h
|
| diff --git a/chrome/browser/ui/gtk/extensions/shell_window_gtk.h b/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
|
| index ec20c655ac751222f32f5e5150ebc4c328321bd4..6f0bc5364dcd59c711794bb2f254efc7d8808e01 100644
|
| --- a/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
|
| +++ b/chrome/browser/ui/gtk/extensions/shell_window_gtk.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <gtk/gtk.h>
|
|
|
| +#include "base/timer.h"
|
| #include "chrome/browser/ui/extensions/native_shell_window.h"
|
| #include "chrome/browser/ui/extensions/shell_window.h"
|
| #include "chrome/browser/ui/gtk/extensions/extension_view_gtk.h"
|
| @@ -72,6 +73,8 @@ class ShellWindowGtk : public NativeShellWindow,
|
| CHROMEGTK_CALLBACK_1(ShellWindowGtk, gboolean, OnWindowState,
|
| GdkEventWindowState*);
|
|
|
| + void OnDebouncedBoundsChanged();
|
| +
|
| ShellWindow* shell_window_; // weak - ShellWindow owns NativeShellWindow.
|
|
|
| GtkWindow* window_;
|
| @@ -92,6 +95,9 @@ class ShellWindowGtk : public NativeShellWindow,
|
| // fullscreen, however: some WMs don't support fullscreen.
|
| bool content_thinks_its_fullscreen_;
|
|
|
| + // The timer used to save the window position for session restore.
|
| + base::OneShotTimer<ShellWindowGtk> window_configure_debounce_timer_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ShellWindowGtk);
|
| };
|
|
|
|
|