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 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 const char kPowerLidClosedAction[] = "power.lid_closed_action"; | 860 const char kPowerLidClosedAction[] = "power.lid_closed_action"; |
861 | 861 |
862 // Should audio and video activity be used to disable the above delays? | 862 // Should audio and video activity be used to disable the above delays? |
863 const char kPowerUseAudioActivity[] = "power.use_audio_activity"; | 863 const char kPowerUseAudioActivity[] = "power.use_audio_activity"; |
864 const char kPowerUseVideoActivity[] = "power.use_video_activity"; | 864 const char kPowerUseVideoActivity[] = "power.use_video_activity"; |
865 | 865 |
866 // Should extensions be able to use the chrome.power API to override | 866 // Should extensions be able to use the chrome.power API to override |
867 // screen-related power management (including locking)? | 867 // screen-related power management (including locking)? |
868 const char kPowerAllowScreenWakeLocks[] = "power.allow_screen_wake_locks"; | 868 const char kPowerAllowScreenWakeLocks[] = "power.allow_screen_wake_locks"; |
869 | 869 |
870 // DEPRECATED: This is replaced by kPowerPresentationScreenDimDelayFactor | |
871 // and has no effect. | |
872 const char kPowerPresentationIdleDelayFactor[] = | |
873 "power.presentation_idle_delay_factor"; | |
874 | |
875 // Amount by which the screen-dim delay should be scaled while the system | 870 // Amount by which the screen-dim delay should be scaled while the system |
876 // is in presentation mode. Values are limited to a minimum of 1.0. | 871 // is in presentation mode. Values are limited to a minimum of 1.0. |
877 const char kPowerPresentationScreenDimDelayFactor[] = | 872 const char kPowerPresentationScreenDimDelayFactor[] = |
878 "power.presentation_screen_dim_delay_factor"; | 873 "power.presentation_screen_dim_delay_factor"; |
879 | 874 |
880 // Amount by which the screen-dim delay should be scaled when user activity is | 875 // Amount by which the screen-dim delay should be scaled when user activity is |
881 // observed while the screen is dimmed or soon after the screen has been turned | 876 // observed while the screen is dimmed or soon after the screen has been turned |
882 // off. Values are limited to a minimum of 1.0. | 877 // off. Values are limited to a minimum of 1.0. |
883 const char kPowerUserActivityScreenDimDelayFactor[] = | 878 const char kPowerUserActivityScreenDimDelayFactor[] = |
884 "power.user_activity_screen_dim_delay_factor"; | 879 "power.user_activity_screen_dim_delay_factor"; |
(...skipping 1612 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2497 | 2492 |
2498 // How often the bubble has been shown. | 2493 // How often the bubble has been shown. |
2499 extern const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; | 2494 extern const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; |
2500 | 2495 |
2501 // A string pref for storing the salt used to compute the pepper device ID. | 2496 // A string pref for storing the salt used to compute the pepper device ID. |
2502 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2497 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
2503 // A boolean pref that enables the (private) pepper GetDeviceID() call. | 2498 // A boolean pref that enables the (private) pepper GetDeviceID() call. |
2504 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2499 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
2505 | 2500 |
2506 } // namespace prefs | 2501 } // namespace prefs |
OLD | NEW |