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

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: Fixed description 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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 // List of mounted file systems via the File System Provider API. Used to 825 // List of mounted file systems via the File System Provider API. Used to
826 // restore them after a reboot. 826 // restore them after a reboot.
827 const char kFileSystemProviderMounted[] = "file_system_provider.mounted"; 827 const char kFileSystemProviderMounted[] = "file_system_provider.mounted";
828 828
829 // A boolean pref set to true if the virtual keyboard should be enabled. 829 // A boolean pref set to true if the virtual keyboard should be enabled.
830 const char kTouchVirtualKeyboardEnabled[] = "ui.touch_virtual_keyboard_enabled"; 830 const char kTouchVirtualKeyboardEnabled[] = "ui.touch_virtual_keyboard_enabled";
831 831
832 // A boolean pref that controls whether wake on SSID is enabled. 832 // A boolean pref that controls whether wake on SSID is enabled.
833 const char kWakeOnWifiSsid[] = "settings.internet.wake_on_wifi_ssid"; 833 const char kWakeOnWifiSsid[] = "settings.internet.wake_on_wifi_ssid";
834 834
835 // This boolean controls if browser window is maximized on the first run.
bartfab (slow) 2015/03/12 11:54:47 Nit: How about: "This boolean controls whether th
peletskyi 2015/03/18 13:28:13 Done.
836 const char kForceMaximizeBrowserWindowOnFirstRun[] = "ui.first_run_maximized";
bartfab (slow) 2015/03/12 11:54:47 Nit: How about s/first_run_maximized/force_maximiz
peletskyi 2015/03/18 13:28:13 Done.
835 #endif // defined(OS_CHROMEOS) 837 #endif // defined(OS_CHROMEOS)
836 838
837 // The disabled messages in IPC logging. 839 // The disabled messages in IPC logging.
838 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; 840 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages";
839 841
840 // A boolean pref set to true if a Home button to open the Home pages should be 842 // A boolean pref set to true if a Home button to open the Home pages should be
841 // visible on the toolbar. 843 // visible on the toolbar.
842 const char kShowHomeButton[] = "browser.show_home_button"; 844 const char kShowHomeButton[] = "browser.show_home_button";
843 845
844 // A string value which saves short list of recently user selected encodings 846 // A string value which saves short list of recently user selected encodings
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2278 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes"; 2280 const char kPasswordBubbleNopesCount[] = "password_bubble.nopes";
2279 2281
2280 // Last user's interaction with the password bubble. 2282 // Last user's interaction with the password bubble.
2281 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions"; 2283 const char kPasswordBubbleLastInteractions[] = "password_bubble.interactions";
2282 2284
2283 // Boolean that indicates whether elevation is needed to recover Chrome upgrade. 2285 // Boolean that indicates whether elevation is needed to recover Chrome upgrade.
2284 const char kRecoveryComponentNeedsElevation[] = 2286 const char kRecoveryComponentNeedsElevation[] =
2285 "recovery_component.needs_elevation"; 2287 "recovery_component.needs_elevation";
2286 2288
2287 } // namespace prefs 2289 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698