summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/page_info_window_controller.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-19 22:10:53 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-19 22:10:53 +0000
commitfcdc18a51a39aa9f9a8961306eb583d17ee26289 (patch)
tree8cc16230516561665acb685acf1dda408a29fdc2 /chrome/browser/cocoa/page_info_window_controller.h
parent5d722824a29973ca54ae6e1bb4ee36a88e6854d5 (diff)
downloadchromium_src-fcdc18a51a39aa9f9a8961306eb583d17ee26289.zip
chromium_src-fcdc18a51a39aa9f9a8961306eb583d17ee26289.tar.gz
chromium_src-fcdc18a51a39aa9f9a8961306eb583d17ee26289.tar.bz2
Mac: Save/restore task manager window pos and size.
Make window size remembering mechanism easier to use and more compatible with windows's chrome profiles. Nib changes: Unset "show at startup" so that the initial repositioning isn't visible. BUG=32147 TEST=Move & size taskman window, quit chrome, reopen chrome. Size & pos should've stayed. Same for keyword editor. Page info dialog should behave as it did before. Review URL: http://codereview.chromium.org/536086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36557 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/page_info_window_controller.h')
-rw-r--r--chrome/browser/cocoa/page_info_window_controller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/page_info_window_controller.h b/chrome/browser/cocoa/page_info_window_controller.h
index 5ad689b..c8e5564 100644
--- a/chrome/browser/cocoa/page_info_window_controller.h
+++ b/chrome/browser/cocoa/page_info_window_controller.h
@@ -9,6 +9,7 @@
class PageInfoWindowMac;
class PrefService;
+@class WindowSizeAutosaver;
// This NSWindowController subclass implements the Cocoa window for
// PageInfoWindow. This creates and owns the PageInfoWindowMac subclass.
@@ -34,6 +35,8 @@ class PrefService;
// Bridge to Chromium that we own.
scoped_ptr<PageInfoWindowMac> pageInfo_;
+
+ scoped_nsobject<WindowSizeAutosaver> sizeSaver_;
}
@property(readwrite, retain) NSImage* identityImg;