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

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: 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 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 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 // 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.
821 // unconditionally maximized, overriding the heuristic that normally chooses the
822 // window size.
823 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.
824 "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 1452 matching lines...) Expand 10 before | Expand all | Expand 10 after
2282 // (name and a list of clients that registered the whitelist). 2287 // (name and a list of clients that registered the whitelist).
2283 const char kRegisteredSupervisedUserWhitelists[] = 2288 const char kRegisteredSupervisedUserWhitelists[] =
2284 "supervised_users.whitelists"; 2289 "supervised_users.whitelists";
2285 2290
2286 #if defined(ENABLE_EXTENSIONS) 2291 #if defined(ENABLE_EXTENSIONS)
2287 // Policy that indicates how to handle animated images. 2292 // Policy that indicates how to handle animated images.
2288 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; 2293 const char kAnimationPolicy[] = "settings.a11y.animation_policy";
2289 #endif 2294 #endif
2290 2295
2291 } // namespace prefs 2296 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698