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

Unified Diff: ash/shell_delegate.h

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/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_delegate.h
diff --git a/ash/shell_delegate.h b/ash/shell_delegate.h
index 148f6867ca331a981be886ccc024a4bbb85e5ff4..64f81393fb0c76ca36b62b82e04b03a76c868833 100644
--- a/ash/shell_delegate.h
+++ b/ash/shell_delegate.h
@@ -83,6 +83,11 @@ class ASH_EXPORT ShellDelegate {
// Returns true if multi account is enabled.
virtual bool IsMultiAccountEnabled() const = 0;
+ // Returns true if the first window shown on first run should be
+ // unconditionally maximized, overriding the heuristic that normally chooses
+ // the window size.
+ virtual bool IsForceMaximizeOnFirstRun() const = 0;
+
// Called before processing |Shell::Init()| so that the delegate
// can perform tasks necessary before the shell is initialized.
virtual void PreInit() = 0;
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698