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

Unified Diff: views/test/test_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/test/test_views_delegate.h ('k') | views/views_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/test/test_views_delegate.cc
diff --git a/views/test/test_views_delegate.cc b/views/test/test_views_delegate.cc
index d25e729e7685cc11cdd4a4dcacb9c3253943abdd..7793dc497e3a76943e68c7b146e7f376bc6aa65d 100644
--- a/views/test/test_views_delegate.cc
+++ b/views/test/test_views_delegate.cc
@@ -31,13 +31,16 @@ View* TestViewsDelegate::GetDefaultParentView() {
return default_parent_view_;
}
-bool TestViewsDelegate::GetSavedWindowBounds(const std::wstring& window_name,
- gfx::Rect* bounds) const {
- return false;
+void TestViewsDelegate::SaveWindowPlacement(const Widget* window,
+ const std::wstring& window_name,
+ const gfx::Rect& bounds,
+ ui::WindowShowState show_state) {
}
-bool TestViewsDelegate::GetSavedMaximizedState(const std::wstring& window_name,
- bool* maximized) const {
+bool TestViewsDelegate::GetSavedWindowPlacement(
+ const std::wstring& window_name,
+ gfx::Rect* bounds,
+ ui:: WindowShowState* show_state) const {
return false;
}
« no previous file with comments | « views/test/test_views_delegate.h ('k') | views/views_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698