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

Unified Diff: views/desktop/desktop_views_delegate.cc

Issue 7748036: Restoring a session should restore window minimization state on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 4 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 | « views/desktop/desktop_views_delegate.h ('k') | views/desktop/desktop_window_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/desktop/desktop_views_delegate.cc
diff --git a/views/desktop/desktop_views_delegate.cc b/views/desktop/desktop_views_delegate.cc
index 6e647028d4d15debd8669ea1d88c94939e3cda56..b0f7ea24617e3be6bd7fbb9c18dbf85c6b8ef5b1 100644
--- a/views/desktop/desktop_views_delegate.cc
+++ b/views/desktop/desktop_views_delegate.cc
@@ -35,17 +35,13 @@ View* DesktopViewsDelegate::GetDefaultParentView() {
void DesktopViewsDelegate::SaveWindowPlacement(const Widget* widget,
const std::wstring& window_name,
const gfx::Rect& bounds,
- bool maximized) {
+ ui::WindowShowState show_state) {
}
-bool DesktopViewsDelegate::GetSavedWindowBounds(const std::wstring& window_name,
- gfx::Rect* bounds) const {
- return false;
-}
-
-bool DesktopViewsDelegate::GetSavedMaximizedState(
+bool DesktopViewsDelegate::GetSavedWindowPlacement(
const std::wstring& window_name,
- bool* maximized) const {
+ gfx::Rect* bounds,
+ ui::WindowShowState* show_state) const {
return false;
}
« no previous file with comments | « views/desktop/desktop_views_delegate.h ('k') | views/desktop/desktop_window_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698