diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-15 00:32:04 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-15 00:32:04 +0000 |
commit | bc9a5157e6843721680e49185dc86ac5885a0c11 (patch) | |
tree | 8b94dcceb7ac4a1970846a71ef7bf28cb1603432 /chrome/browser/browser.h | |
parent | e0ab532efa30307f09fdb62e5648f71ec704d378 (diff) | |
download | chromium_src-bc9a5157e6843721680e49185dc86ac5885a0c11.zip chromium_src-bc9a5157e6843721680e49185dc86ac5885a0c11.tar.gz chromium_src-bc9a5157e6843721680e49185dc86ac5885a0c11.tar.bz2 |
Make the Browser restore saved last size/position using the WindowDelegate code rather than hand-rolling its own.
Review URL: http://codereview.chromium.org/10959
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5520 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r-- | chrome/browser/browser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h index a1ff84e..1f21962 100644 --- a/chrome/browser/browser.h +++ b/chrome/browser/browser.h @@ -98,6 +98,8 @@ class Browser : public TabStripModelDelegate, // State Storage and Retrieval for UI /////////////////////////////////////// // Save and restore the window position. + std::wstring GetWindowPlacementKey() const; + bool ShouldSaveWindowPlacement() const; void SaveWindowPlacement(const gfx::Rect& bounds, bool maximized); gfx::Rect GetSavedWindowBounds() const; bool GetSavedMaximizedState() const; |