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

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: 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
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..68056fc1b4fe5d70f339c013379ac0e758ca8b85 100644
--- a/views/desktop/desktop_views_delegate.cc
+++ b/views/desktop/desktop_views_delegate.cc
@@ -35,7 +35,7 @@ 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,
@@ -43,9 +43,9 @@ bool DesktopViewsDelegate::GetSavedWindowBounds(const std::wstring& window_name,
return false;
}
-bool DesktopViewsDelegate::GetSavedMaximizedState(
+bool DesktopViewsDelegate::GetSavedWindowShowState(
const std::wstring& window_name,
- bool* maximized) const {
+ ui::WindowShowState* show_state) const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698