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

Side by Side Diff: chrome/common/pref_names.cc

Issue 10875027: Restart running apps when chrome restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to comments Created 8 years, 3 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 | Annotate | Revision Log
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | 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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 487
488 // An integer representing the state of the default apps installation process. 488 // An integer representing the state of the default apps installation process.
489 // This value is persisted in the profile's user preferences because the process 489 // This value is persisted in the profile's user preferences because the process
490 // is async, and the user may have stopped chrome in the middle. The next time 490 // is async, and the user may have stopped chrome in the middle. The next time
491 // the profile is opened, the process will continue from where it left off. 491 // the profile is opened, the process will continue from where it left off.
492 // 492 //
493 // See possible values in external_provider_impl.cc. 493 // See possible values in external_provider_impl.cc.
494 const char kDefaultAppsInstallState[] = "default_apps_install_state"; 494 const char kDefaultAppsInstallState[] = "default_apps_install_state";
495 495
496 #if defined(OS_CHROMEOS) 496 #if defined(OS_CHROMEOS)
497 // An integer pref to initially mute volume if 1. This pref is ignored if 497 // An integer pref to initially mute volume if 1.
Mihai Parparita -not on Chrome 2012/09/05 20:54:06 Ditto.
koz (OOO until 15th September) 2012/09/06 07:50:44 Done.
498 // |kAudioOutputAllowed| is set to false, but its value is preserved, therefore
499 // when the policy is lifted the original mute state is restored.
500 const char kAudioMute[] = "settings.audio.mute"; 498 const char kAudioMute[] = "settings.audio.mute";
501 499
502 // TODO(derat): This is deprecated in favor of |kAudioVolumePercent|; remove it 500 // TODO(derat): This is deprecated in favor of |kAudioVolumePercent|; remove it
503 // after R20 once we've cleared old user settings: http://crbug.com/112039 501 // after R20 once we've cleared old user settings: http://crbug.com/112039
504 const char kAudioVolumeDb[] = "settings.audio.volume"; 502 const char kAudioVolumeDb[] = "settings.audio.volume";
505 503
506 // A double pref storing the user-requested volume. 504 // A double pref storing the user-requested volume.
507 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; 505 const char kAudioVolumePercent[] = "settings.audio.volume_percent";
508 506
509 // A boolean pref set to true if touchpad tap-to-click is enabled. 507 // A boolean pref set to true if touchpad tap-to-click is enabled.
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 // 0 - The secondary display is at the top of the primary display. 734 // 0 - The secondary display is at the top of the primary display.
737 // 1 - The secondary display is at the right of the primary display. 735 // 1 - The secondary display is at the right of the primary display.
738 // 2 - The secondary display is at the bottom of the primary display. 736 // 2 - The secondary display is at the bottom of the primary display.
739 // 3 - The secondary display is at the left of the primary display. 737 // 3 - The secondary display is at the left of the primary display.
740 // TODO(mukai,oshima): update the format of the multi-display settings. 738 // TODO(mukai,oshima): update the format of the multi-display settings.
741 const char kSecondaryDisplayLayout[] = "settings.display.secondary_layout"; 739 const char kSecondaryDisplayLayout[] = "settings.display.secondary_layout";
742 740
743 // An integer pref that specifies how far the secondary display is positioned 741 // An integer pref that specifies how far the secondary display is positioned
744 // from the edge of the primary display. 742 // from the edge of the primary display.
745 const char kSecondaryDisplayOffset[] = "settings.display.secondary_offset"; 743 const char kSecondaryDisplayOffset[] = "settings.display.secondary_offset";
746
747 // A dictionary pref that specifies per-display layout/offset information.
748 // Its key is the ID of the display and its value is a dictionary for the
749 // layout/offset information.
750 const char kSecondaryDisplays[] = "settings.display.secondary_displays";
751 #endif // defined(OS_CHROMEOS) 744 #endif // defined(OS_CHROMEOS)
752 745
753 // The disabled messages in IPC logging. 746 // The disabled messages in IPC logging.
754 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; 747 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages";
755 748
756 // A boolean pref set to true if a Home button to open the Home pages should be 749 // A boolean pref set to true if a Home button to open the Home pages should be
757 // visible on the toolbar. 750 // visible on the toolbar.
758 const char kShowHomeButton[] = "browser.show_home_button"; 751 const char kShowHomeButton[] = "browser.show_home_button";
759 752
760 // A string value which saves short list of recently user selected encodings 753 // A string value which saves short list of recently user selected encodings
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after
1775 const char kDeviceLocation[] = "device_status.location"; 1768 const char kDeviceLocation[] = "device_status.location";
1776 1769
1777 // A string that is used to store first-time sync startup after once sync is 1770 // A string that is used to store first-time sync startup after once sync is
1778 // disabled. This will be refreshed every sign-in. 1771 // disabled. This will be refreshed every sign-in.
1779 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token"; 1772 const char kSyncSpareBootstrapToken[] = "sync.spare_bootstrap_token";
1780 1773
1781 // A pref holding the value of the policy used to disable mounting of external 1774 // A pref holding the value of the policy used to disable mounting of external
1782 // storage for the user. 1775 // storage for the user.
1783 const char kExternalStorageDisabled[] = "hardware.external_storage_disabled"; 1776 const char kExternalStorageDisabled[] = "hardware.external_storage_disabled";
1784 1777
1785 // A pref holding the value of the policy used to disable playing audio on
1786 // ChromeOS devices. This pref overrides |kAudioMute| but does not overwrite
1787 // it, therefore when the policy is lifted the original mute state is restored.
1788 const char kAudioOutputAllowed[] = "hardware.audio_output_enabled";
1789
1790 // A pref holding the value of the policy used to disable capturing audio on
1791 // ChromeOS devices.
1792 const char kAudioCaptureAllowed[] = "hardware.audio_capture_enabled";
1793
1794 // A dictionary that maps usernames to wallpaper properties. 1778 // A dictionary that maps usernames to wallpaper properties.
1795 const char kUsersWallpaperInfo[] = "user_wallpaper_info"; 1779 const char kUsersWallpaperInfo[] = "user_wallpaper_info";
1796 #endif 1780 #endif
1797 1781
1798 // Whether there is a Flash version installed that supports clearing LSO data. 1782 // Whether there is a Flash version installed that supports clearing LSO data.
1799 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; 1783 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled";
1800 1784
1801 // Whether we should show Pepper Flash-specific settings. 1785 // Whether we should show Pepper Flash-specific settings.
1802 const char kPepperFlashSettingsEnabled[] = 1786 const char kPepperFlashSettingsEnabled[] =
1803 "browser.pepper_flash_settings_enabled"; 1787 "browser.pepper_flash_settings_enabled";
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
2014 1998
2015 // Counts how many more times the 'profile on a network share' warning should be 1999 // Counts how many more times the 'profile on a network share' warning should be
2016 // shown to the user before the next silence period. 2000 // shown to the user before the next silence period.
2017 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 2001 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
2018 // Tracks the time of the last shown warning. Used to reset 2002 // Tracks the time of the last shown warning. Used to reset
2019 // |network_profile.warnings_left| after a silence period. 2003 // |network_profile.warnings_left| after a silence period.
2020 const char kNetworkProfileLastWarningTime[] = 2004 const char kNetworkProfileLastWarningTime[] =
2021 "network_profile.last_warning_time"; 2005 "network_profile.last_warning_time";
2022 2006
2023 } // namespace prefs 2007 } // namespace prefs
OLDNEW
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698