OLD | NEW |
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 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 const char kShouldAlwaysShowAccessibilityMenu[] = "settings.a11y.enable_menu"; | 767 const char kShouldAlwaysShowAccessibilityMenu[] = "settings.a11y.enable_menu"; |
768 | 768 |
769 // A boolean pref which turns on Advanced Filesystem | 769 // A boolean pref which turns on Advanced Filesystem |
770 // (USB support, SD card, etc). | 770 // (USB support, SD card, etc). |
771 const char kLabsAdvancedFilesystemEnabled[] = | 771 const char kLabsAdvancedFilesystemEnabled[] = |
772 "settings.labs.advanced_filesystem"; | 772 "settings.labs.advanced_filesystem"; |
773 | 773 |
774 // A boolean pref which turns on the mediaplayer. | 774 // A boolean pref which turns on the mediaplayer. |
775 const char kLabsMediaplayerEnabled[] = "settings.labs.mediaplayer"; | 775 const char kLabsMediaplayerEnabled[] = "settings.labs.mediaplayer"; |
776 | 776 |
777 // A boolean pref that turns on screen locker. | 777 // A boolean pref that controls whether the screen will be locked just |
| 778 // before the system is suspended or after the inactivity delays specified |
| 779 // by kPowerAcScreenLockDelayMs and kPowerBatteryScreenLockDelayMs have |
| 780 // elapsed. |
778 const char kEnableScreenLock[] = "settings.enable_screen_lock"; | 781 const char kEnableScreenLock[] = "settings.enable_screen_lock"; |
779 | 782 |
780 // A boolean pref of whether to show mobile plan notifications. | 783 // A boolean pref of whether to show mobile plan notifications. |
781 const char kShowPlanNotifications[] = | 784 const char kShowPlanNotifications[] = |
782 "settings.internet.mobile.show_plan_notifications"; | 785 "settings.internet.mobile.show_plan_notifications"; |
783 | 786 |
784 // A boolean pref of whether to show 3G promo notification. | 787 // A boolean pref of whether to show 3G promo notification. |
785 const char kShow3gPromoNotification[] = | 788 const char kShow3gPromoNotification[] = |
786 "settings.internet.mobile.show_3g_promo_notification"; | 789 "settings.internet.mobile.show_3g_promo_notification"; |
787 | 790 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 // Holds the maximum session time in milliseconds. If this pref is set, the | 828 // Holds the maximum session time in milliseconds. If this pref is set, the |
826 // user is logged out when the maximum session time is reached. The user is | 829 // user is logged out when the maximum session time is reached. The user is |
827 // informed about the remaining time by a countdown timer shown in the ash | 830 // informed about the remaining time by a countdown timer shown in the ash |
828 // system tray. | 831 // system tray. |
829 const char kSessionLengthLimit[] = "session.length_limit"; | 832 const char kSessionLengthLimit[] = "session.length_limit"; |
830 | 833 |
831 // Inactivity time in milliseconds while the system is on AC power before | 834 // Inactivity time in milliseconds while the system is on AC power before |
832 // the screen should be dimmed, turned off, or locked, before an | 835 // the screen should be dimmed, turned off, or locked, before an |
833 // IdleActionImminent D-Bus signal should be sent, or before | 836 // IdleActionImminent D-Bus signal should be sent, or before |
834 // kPowerIdleAction should be performed. 0 disables the delay (N/A for | 837 // kPowerIdleAction should be performed. 0 disables the delay (N/A for |
835 // kPowerAcIdleDelayMs). | 838 // kPowerAcIdleDelayMs). kPowerAcScreenLockDelayMs is only honored when |
| 839 // kEnableScreenLock is set to true. |
836 const char kPowerAcScreenDimDelayMs[] = "power.ac_screen_dim_delay_ms"; | 840 const char kPowerAcScreenDimDelayMs[] = "power.ac_screen_dim_delay_ms"; |
837 const char kPowerAcScreenOffDelayMs[] = "power.ac_screen_off_delay_ms"; | 841 const char kPowerAcScreenOffDelayMs[] = "power.ac_screen_off_delay_ms"; |
838 const char kPowerAcScreenLockDelayMs[] = "power.ac_screen_lock_delay_ms"; | 842 const char kPowerAcScreenLockDelayMs[] = "power.ac_screen_lock_delay_ms"; |
839 const char kPowerAcIdleWarningDelayMs[] = "power.ac_idle_warning_delay_ms"; | 843 const char kPowerAcIdleWarningDelayMs[] = "power.ac_idle_warning_delay_ms"; |
840 const char kPowerAcIdleDelayMs[] = "power.ac_idle_delay_ms"; | 844 const char kPowerAcIdleDelayMs[] = "power.ac_idle_delay_ms"; |
841 | 845 |
842 // Similar delays while the system is on battery power. | 846 // Similar delays while the system is on battery power. |
843 const char kPowerBatteryScreenDimDelayMs[] = | 847 const char kPowerBatteryScreenDimDelayMs[] = |
844 "power.battery_screen_dim_delay_ms"; | 848 "power.battery_screen_dim_delay_ms"; |
845 const char kPowerBatteryScreenOffDelayMs[] = | 849 const char kPowerBatteryScreenOffDelayMs[] = |
(...skipping 1610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2456 // ping and the time of the last ping. | 2460 // ping and the time of the last ping. |
2457 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; | 2461 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; |
2458 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; | 2462 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; |
2459 | 2463 |
2460 // A string pref for storing the salt used to compute the pepper device ID. | 2464 // A string pref for storing the salt used to compute the pepper device ID. |
2461 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2465 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
2462 // A boolean pref that enables the (private) pepper GetDeviceID() call. | 2466 // A boolean pref that enables the (private) pepper GetDeviceID() call. |
2463 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2467 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
2464 | 2468 |
2465 } // namespace prefs | 2469 } // namespace prefs |
OLD | NEW |