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 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
481 | 481 |
482 // An integer representing the state of the default apps installation process. | 482 // An integer representing the state of the default apps installation process. |
483 // This value is persisted in the profile's user preferences because the process | 483 // This value is persisted in the profile's user preferences because the process |
484 // is async, and the user may have stopped chrome in the middle. The next time | 484 // is async, and the user may have stopped chrome in the middle. The next time |
485 // the profile is opened, the process will continue from where it left off. | 485 // the profile is opened, the process will continue from where it left off. |
486 // | 486 // |
487 // See possible values in external_extension_provider_impl.cc. | 487 // See possible values in external_extension_provider_impl.cc. |
488 const char kDefaultAppsInstallState[] = "default_apps_install_state"; | 488 const char kDefaultAppsInstallState[] = "default_apps_install_state"; |
489 | 489 |
490 #if defined(OS_CHROMEOS) | 490 #if defined(OS_CHROMEOS) |
491 // Disables screenshot accelerators and extension APIs. | |
Mattias Nissler (ping if slow)
2012/07/09 09:30:12
Would be good to put a sentence saying that the ex
qfel
2012/07/11 12:34:49
Done.
| |
492 const char kDisableScreenshots[] = "disable_screenshots"; | |
493 | |
491 // An integer pref to initially mute volume if 1. | 494 // An integer pref to initially mute volume if 1. |
492 const char kAudioMute[] = "settings.audio.mute"; | 495 const char kAudioMute[] = "settings.audio.mute"; |
493 | 496 |
494 // TODO(derat): This is deprecated in favor of |kAudioVolumePercent|; remove it | 497 // TODO(derat): This is deprecated in favor of |kAudioVolumePercent|; remove it |
495 // after R20 once we've cleared old user settings: http://crbug.com/112039 | 498 // after R20 once we've cleared old user settings: http://crbug.com/112039 |
496 const char kAudioVolumeDb[] = "settings.audio.volume"; | 499 const char kAudioVolumeDb[] = "settings.audio.volume"; |
497 | 500 |
498 // A double pref storing the user-requested volume. | 501 // A double pref storing the user-requested volume. |
499 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; | 502 const char kAudioVolumePercent[] = "settings.audio.volume_percent"; |
500 | 503 |
(...skipping 1481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1982 const char kNetworkProfileLastWarningTime[] = | 1985 const char kNetworkProfileLastWarningTime[] = |
1983 "network_profile.last_warning_time"; | 1986 "network_profile.last_warning_time"; |
1984 | 1987 |
1985 #if defined(OS_MACOSX) | 1988 #if defined(OS_MACOSX) |
1986 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. | 1989 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. |
1987 const char kMacLeopardObsoleteInfobarLastShown[] = | 1990 const char kMacLeopardObsoleteInfobarLastShown[] = |
1988 "mac_105_obsolete_infobar_last_shown"; | 1991 "mac_105_obsolete_infobar_last_shown"; |
1989 #endif // defined(OS_MACOSX) | 1992 #endif // defined(OS_MACOSX) |
1990 | 1993 |
1991 } // namespace prefs | 1994 } // namespace prefs |
OLD | NEW |