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

Unified Diff: views/desktop/desktop_views_delegate.cc

Issue 7790010: Revert 98679 - 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
« 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
===================================================================
--- views/desktop/desktop_views_delegate.cc (revision 98696)
+++ views/desktop/desktop_views_delegate.cc (working copy)
@@ -35,13 +35,17 @@
void DesktopViewsDelegate::SaveWindowPlacement(const Widget* widget,
const std::wstring& window_name,
const gfx::Rect& bounds,
- ui::WindowShowState show_state) {
+ bool maximized) {
}
-bool DesktopViewsDelegate::GetSavedWindowPlacement(
+bool DesktopViewsDelegate::GetSavedWindowBounds(const std::wstring& window_name,
+ gfx::Rect* bounds) const {
+ return false;
+}
+
+bool DesktopViewsDelegate::GetSavedMaximizedState(
const std::wstring& window_name,
- gfx::Rect* bounds,
- ui::WindowShowState* show_state) const {
+ bool* maximized) 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