diff options
author | derat@google.com <derat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 21:52:28 +0000 |
---|---|---|
committer | derat@google.com <derat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-29 21:52:28 +0000 |
commit | a5eb6fc090ff177d70e886b263f02055aedd04dc (patch) | |
tree | 1167f8ea3616706d118df8c1a5f22f30d2bae3c5 /chrome/browser/gtk/task_manager_gtk.h | |
parent | 7d1e0d0bd5b0a3d56471bbfa7542aff36607463d (diff) | |
download | chromium_src-a5eb6fc090ff177d70e886b263f02055aedd04dc.zip chromium_src-a5eb6fc090ff177d70e886b263f02055aedd04dc.tar.gz chromium_src-a5eb6fc090ff177d70e886b263f02055aedd04dc.tar.bz2 |
Linux: Save and restore bookmark manager and task manager window size.
To test, did the following under Metacity/GNOME:
- remove window_placement prefs from "Local State" file
- start chrome
- open bookmark manager with Ctrl-Shift-B
- resize window to be small and close it
- reopen bookmark manager and confirm that its window is the same
size as when closed
- maximize bookmark manager and close it
- reopen bookmark manager and confirm that it's still small
- minimize bookmark manager before closing it; confirm that the
size remains the same
- restart chrome and confirm that the window size is still saved
- repeat the above tests with the task manager (which is a bit
quicker, since it doesn't allow maximizing or minimizing)
BUG=15488
TEST=see above
Review URL: http://codereview.chromium.org/160330
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22001 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/task_manager_gtk.h')
-rw-r--r-- | chrome/browser/gtk/task_manager_gtk.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/gtk/task_manager_gtk.h b/chrome/browser/gtk/task_manager_gtk.h index 6d4c366..e5ce387 100644 --- a/chrome/browser/gtk/task_manager_gtk.h +++ b/chrome/browser/gtk/task_manager_gtk.h @@ -33,6 +33,9 @@ class TaskManagerGtk : public TaskManagerModelObserver { // Initializes the task manager dialog. void Init(); + // Set |dialog_|'s initial size, using its previous size if that was saved. + void SetInitialDialogSize(); + // Connects the ctrl-w accelerator to the dialog. void ConnectAccelerators(); |