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

Unified Diff: chrome/common/pref_names.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: Fix after review 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: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 61151eb1ef3ebcc5937aa2d18c2b105e5fd5e473..f094eaea0b363b2f415d9cc800cc48214111b094 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -817,6 +817,11 @@ const char kWakeOnWifiSsid[] = "settings.internet.wake_on_wifi_ssid";
// which allows to bypass the user's proxy for captive portal authentication.
const char kCaptivePortalAuthenticationIgnoresProxy[] =
"proxy.captive_portal_ignores_proxy";
+// This boolean controls whether the first window shown on first run should be
bartfab (slow) 2015/04/01 14:22:43 Nit: Add blank line above.
peletskyi 2015/04/01 18:55:47 Done.
+// unconditionally maximized, overriding the heuristic that normally chooses the
+// window size.
+const char kForceMaximizeOnFirstRun[] =
bartfab (slow) 2015/04/01 14:22:43 Nit: This fits on one line.
peletskyi 2015/04/01 18:55:47 Done.
+ "ui.force_maximize_on_first_run";
#endif // defined(OS_CHROMEOS)
// The disabled messages in IPC logging.

Powered by Google App Engine
This is Rietveld 408576698