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

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: 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/test/test_views_delegate.cc
diff --git a/views/test/test_views_delegate.cc b/views/test/test_views_delegate.cc
index d25e729e7685cc11cdd4a4dcacb9c3253943abdd..839266123a23e5a705ad17aba6d62511d7a1178d 100644
--- a/views/test/test_views_delegate.cc
+++ b/views/test/test_views_delegate.cc
@@ -31,13 +31,20 @@ View* TestViewsDelegate::GetDefaultParentView() {
return default_parent_view_;
}
+void TestViewsDelegate::SaveWindowPlacement(const Widget* window,
+ const std::wstring& window_name,
+ const gfx::Rect& bounds,
+ ui::WindowShowState show_state) {
+}
+
bool TestViewsDelegate::GetSavedWindowBounds(const std::wstring& window_name,
gfx::Rect* bounds) const {
return false;
}
-bool TestViewsDelegate::GetSavedMaximizedState(const std::wstring& window_name,
- bool* maximized) const {
+bool TestViewsDelegate::GetSavedWindowShowState(
+ const std::wstring& window_name,
+ ui::WindowShowState* show_state) const {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698