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

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: Created 5 years, 8 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 | « ash/test/test_shell_delegate.h ('k') | ash/wm/window_positioner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ee6fd44a06c28c7d52be65d43248b76dd3d5a52e 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::IsForceMaximizeOnFirstRun() const {
+ return force_maximize_on_first_run_;
+}
+
void TestShellDelegate::PreInit() {
}
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | ash/wm/window_positioner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698