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

Unified Diff: ash/test/test_shell_delegate.cc

Issue 964503002: Implemented ForceMaximizeBrowserWindowOnFirstRun policy, added unit test and browser test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed description Created 5 years, 10 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: ash/test/test_shell_delegate.cc
diff --git a/ash/test/test_shell_delegate.cc b/ash/test/test_shell_delegate.cc
index bb712be0133c997871ac3372aa978e9ca679cf0d..7a3bf91a0375460ecd5df5851de4ec0cb6baebf1 100644
--- a/ash/test/test_shell_delegate.cc
+++ b/ash/test/test_shell_delegate.cc
@@ -82,6 +82,7 @@ class MediaDelegateImpl : public MediaDelegate {
TestShellDelegate::TestShellDelegate()
: num_exit_requests_(0),
multi_profiles_enabled_(false),
+ first_time_maximized_(false),
test_session_state_delegate_(NULL) {
}
@@ -108,6 +109,10 @@ bool TestShellDelegate::IsMultiAccountEnabled() const {
return false;
}
+bool TestShellDelegate::IsFirstTimeMaximized() const {
+ return first_time_maximized_;
+}
+
void TestShellDelegate::PreInit() {
}

Powered by Google App Engine
This is Rietveld 408576698