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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
806 806
807 // A boolean pref that controls whether wake on SSID is enabled. 807 // A boolean pref that controls whether wake on SSID is enabled.
808 const char kWakeOnWifiSsid[] = "settings.internet.wake_on_wifi_ssid"; 808 const char kWakeOnWifiSsid[] = "settings.internet.wake_on_wifi_ssid";
809 809
810 // This is the policy CaptivePortalAuthenticationIgnoresProxy that allows to 810 // This is the policy CaptivePortalAuthenticationIgnoresProxy that allows to
811 // open captive portal authentication pages in a separate window under 811 // open captive portal authentication pages in a separate window under
812 // a temporary incognito profile ("signin profile" is used for this purpose), 812 // a temporary incognito profile ("signin profile" is used for this purpose),
813 // which allows to bypass the user's proxy for captive portal authentication. 813 // which allows to bypass the user's proxy for captive portal authentication.
814 const char kCaptivePortalAuthenticationIgnoresProxy[] = 814 const char kCaptivePortalAuthenticationIgnoresProxy[] =
815 "proxy.captive_portal_ignores_proxy"; 815 "proxy.captive_portal_ignores_proxy";
816
817 // This boolean controls whether the first window shown on first run should be
818 // unconditionally maximized, overriding the heuristic that normally chooses the
819 // window size.
820 const char kForceMaximizeOnFirstRun[] = "ui.force_maximize_on_first_run";
816 #endif // defined(OS_CHROMEOS) 821 #endif // defined(OS_CHROMEOS)
817 822
818 // The disabled messages in IPC logging. 823 // The disabled messages in IPC logging.
819 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; 824 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages";
820 825
821 // A boolean pref set to true if a Home button to open the Home pages should be 826 // A boolean pref set to true if a Home button to open the Home pages should be
822 // visible on the toolbar. 827 // visible on the toolbar.
823 const char kShowHomeButton[] = "browser.show_home_button"; 828 const char kShowHomeButton[] = "browser.show_home_button";
824 829
825 // A string value which saves short list of recently user selected encodings 830 // A string value which saves short list of recently user selected encodings
(...skipping 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after
2275 // (name and a list of clients that registered the whitelist). 2280 // (name and a list of clients that registered the whitelist).
2276 const char kRegisteredSupervisedUserWhitelists[] = 2281 const char kRegisteredSupervisedUserWhitelists[] =
2277 "supervised_users.whitelists"; 2282 "supervised_users.whitelists";
2278 2283
2279 #if defined(ENABLE_EXTENSIONS) 2284 #if defined(ENABLE_EXTENSIONS)
2280 // Policy that indicates how to handle animated images. 2285 // Policy that indicates how to handle animated images.
2281 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2286 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2282 #endif 2287 #endif
2283 2288
2284 } // namespace prefs 2289 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698