Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1464)

Unified Diff: chrome/browser/gtk/browser_window_gtk.h

Issue 203027: Linux: avoid browser windows moving around by the size of WM decorations over restart. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_window_gtk.cc » ('j') | chrome/browser/gtk/browser_window_gtk.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_window_gtk.h
===================================================================
--- chrome/browser/gtk/browser_window_gtk.h (revision 26487)
+++ chrome/browser/gtk/browser_window_gtk.h (working copy)
@@ -140,6 +140,7 @@
void UpdateUIForContents(TabContents* contents);
void OnBoundsChanged(const gfx::Rect& bounds);
+ void OnDebouncedBoundsChanged();
void OnStateChanged(GdkWindowState state, GdkWindowState changed_mask);
// Returns false if we're not ready to close yet. E.g., a tab may have an
@@ -361,6 +362,9 @@
// The timer used to update frames for the Loading Animation.
base::RepeatingTimer<BrowserWindowGtk> loading_animation_timer_;
+ // The timer used to save the window position for session restore.
+ base::OneShotTimer<BrowserWindowGtk> mainwin_configure_debounce_timer_;
+
// Whether the custom chrome frame pref is set. Normally you want to use
// UseCustomFrame() above to determine whether to use the custom frame or
// not.
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_window_gtk.cc » ('j') | chrome/browser/gtk/browser_window_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698