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

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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 799 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 810
811 // A boolean pref that controls whether wake on SSID is enabled. 811 // A boolean pref that controls whether wake on SSID is enabled.
812 const char kWakeOnWifiSsid[] = "settings.internet.wake_on_wifi_ssid"; 812 const char kWakeOnWifiSsid[] = "settings.internet.wake_on_wifi_ssid";
813 813
814 // This is the policy CaptivePortalAuthenticationIgnoresProxy that allows to 814 // This is the policy CaptivePortalAuthenticationIgnoresProxy that allows to
815 // open captive portal authentication pages in a separate window under 815 // open captive portal authentication pages in a separate window under
816 // a temporary incognito profile ("signin profile" is used for this purpose), 816 // a temporary incognito profile ("signin profile" is used for this purpose),
817 // which allows to bypass the user's proxy for captive portal authentication. 817 // which allows to bypass the user's proxy for captive portal authentication.
818 const char kCaptivePortalAuthenticationIgnoresProxy[] = 818 const char kCaptivePortalAuthenticationIgnoresProxy[] =
819 "proxy.captive_portal_ignores_proxy"; 819 "proxy.captive_portal_ignores_proxy";
820
821 // This boolean controls whether the first window shown on first run should be
822 // unconditionally maximized, overriding the heuristic that normally chooses the
823 // window size.
824 const char kForceMaximizeOnFirstRun[] = "ui.force_maximize_on_first_run";
820 #endif // defined(OS_CHROMEOS) 825 #endif // defined(OS_CHROMEOS)
821 826
822 // The disabled messages in IPC logging. 827 // The disabled messages in IPC logging.
823 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; 828 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages";
824 829
825 // A boolean pref set to true if a Home button to open the Home pages should be 830 // A boolean pref set to true if a Home button to open the Home pages should be
826 // visible on the toolbar. 831 // visible on the toolbar.
827 const char kShowHomeButton[] = "browser.show_home_button"; 832 const char kShowHomeButton[] = "browser.show_home_button";
828 833
829 // A string value which saves short list of recently user selected encodings 834 // A string value which saves short list of recently user selected encodings
(...skipping 1449 matching lines...) Expand 10 before | Expand all | Expand 10 after
2279 // (name and a list of clients that registered the whitelist). 2284 // (name and a list of clients that registered the whitelist).
2280 const char kRegisteredSupervisedUserWhitelists[] = 2285 const char kRegisteredSupervisedUserWhitelists[] =
2281 "supervised_users.whitelists"; 2286 "supervised_users.whitelists";
2282 2287
2283 #if defined(ENABLE_EXTENSIONS) 2288 #if defined(ENABLE_EXTENSIONS)
2284 // Policy that indicates how to handle animated images. 2289 // Policy that indicates how to handle animated images.
2285 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2290 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2286 #endif 2291 #endif
2287 2292
2288 } // namespace prefs 2293 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698