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

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: Now we use scoped_ptr Created 5 years, 9 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 9b11604bbad2aa499fbc3d1044b4ab0cf7d3efef..421d3f662a4b2bc3e473569f5df95f38cbed1370 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),
+ force_maximize_on_first_run_(false),
test_session_state_delegate_(NULL) {
}
@@ -108,6 +109,10 @@ bool TestShellDelegate::IsMultiAccountEnabled() const {
return false;
}
+bool TestShellDelegate::ForceMaximizeOnFirstRun() const {
+ return force_maximize_on_first_run_;
+}
+
void TestShellDelegate::PreInit() {
}

Powered by Google App Engine
This is Rietveld 408576698