summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/preferences_window_controller.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 16:14:16 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-03 16:14:16 +0000
commit74ed092bdb8856b20352d2275d4aa0913b0a4cac (patch)
treeb5c814598f15bd2fcac0426349bd7478609fd281 /chrome/browser/cocoa/preferences_window_controller.h
parent9848c7e23c49fcb4736ed4453b6ae59bd5c810e6 (diff)
downloadchromium_src-74ed092bdb8856b20352d2275d4aa0913b0a4cac.zip
chromium_src-74ed092bdb8856b20352d2275d4aa0913b0a4cac.tar.gz
chromium_src-74ed092bdb8856b20352d2275d4aa0913b0a4cac.tar.bz2
Save/restore position for the preferences window based on prefs,
BUG=34644 TEST=Try moving the preferences window and confirm it works. Patch from Mingmin Xie <melvinxie@gmail.com> Review URL: http://codereview.chromium.org/2592001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48834 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/preferences_window_controller.h')
-rw-r--r--chrome/browser/cocoa/preferences_window_controller.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/preferences_window_controller.h b/chrome/browser/cocoa/preferences_window_controller.h
index 43c8a93..46ac043 100644
--- a/chrome/browser/cocoa/preferences_window_controller.h
+++ b/chrome/browser/cocoa/preferences_window_controller.h
@@ -19,6 +19,7 @@ class PrefService;
class Profile;
class ProfileSyncService;
@class SearchEngineListModel;
+@class WindowSizeAutosaver;
// A window controller that handles the preferences window. The bulk of the
// work is handled via Cocoa Bindings and getter/setter methods that wrap
@@ -41,6 +42,7 @@ class ProfileSyncService;
ProfileSyncService* syncService_;
scoped_ptr<PreferencesWindowControllerInternal::PrefObserverBridge>
observer_; // Watches for pref changes.
+ scoped_nsobject<WindowSizeAutosaver> sizeSaver_;
IBOutlet NSToolbar* toolbar_;