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 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 #endif | 1018 #endif |
1019 | 1019 |
1020 // Profile avatar and name | 1020 // Profile avatar and name |
1021 const char kProfileAvatarIndex[] = "profile.avatar_index"; | 1021 const char kProfileAvatarIndex[] = "profile.avatar_index"; |
1022 const char kProfileName[] = "profile.name"; | 1022 const char kProfileName[] = "profile.name"; |
1023 | 1023 |
1024 // Indicates if we've already shown a notification that high contrast | 1024 // Indicates if we've already shown a notification that high contrast |
1025 // mode is on, recommending high-contrast extensions and themes. | 1025 // mode is on, recommending high-contrast extensions and themes. |
1026 const char kInvertNotificationShown[] = "invert_notification_version_2_shown"; | 1026 const char kInvertNotificationShown[] = "invert_notification_version_2_shown"; |
1027 | 1027 |
| 1028 // Boolean controlling whether printing is enabled. |
| 1029 const char kPrintingEnabled[] = "printing.enabled"; |
| 1030 |
| 1031 // Boolean controlling whether print preview is disabled. |
| 1032 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; |
| 1033 |
1028 // *************** LOCAL STATE *************** | 1034 // *************** LOCAL STATE *************** |
1029 // These are attached to the machine/installation | 1035 // These are attached to the machine/installation |
1030 | 1036 |
1031 // Directory of the last profile used. | 1037 // Directory of the last profile used. |
1032 const char kProfileLastUsed[] = "profile.last_used"; | 1038 const char kProfileLastUsed[] = "profile.last_used"; |
1033 | 1039 |
1034 // List of directories of the profiles last active. | 1040 // List of directories of the profiles last active. |
1035 const char kProfilesLastActive[] = "profile.last_active_profiles"; | 1041 const char kProfilesLastActive[] = "profile.last_active_profiles"; |
1036 | 1042 |
1037 // Total number of profiles created for this Chrome build. Used to tag profile | 1043 // Total number of profiles created for this Chrome build. Used to tag profile |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1677 | 1683 |
1678 // Dictionary that maps Geolocation network provider server URLs to | 1684 // Dictionary that maps Geolocation network provider server URLs to |
1679 // corresponding access token. | 1685 // corresponding access token. |
1680 const char kGeolocationAccessToken[] = "geolocation.access_token"; | 1686 const char kGeolocationAccessToken[] = "geolocation.access_token"; |
1681 | 1687 |
1682 // Boolean that indicates whether to allow firewall traversal while trying to | 1688 // Boolean that indicates whether to allow firewall traversal while trying to |
1683 // establish the initial connection from the client or host. | 1689 // establish the initial connection from the client or host. |
1684 const char kRemoteAccessHostFirewallTraversal[] = | 1690 const char kRemoteAccessHostFirewallTraversal[] = |
1685 "remote_access.host_firewall_traversal"; | 1691 "remote_access.host_firewall_traversal"; |
1686 | 1692 |
1687 // Boolean controlling whether printing is enabled. | |
1688 const char kPrintingEnabled[] = "printing.enabled"; | |
1689 | |
1690 // Boolean controlling whether print preview is disabled. | |
1691 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; | |
1692 | 1693 |
1693 // The last used printer and its settings. | 1694 // The last used printer and its settings. |
1694 const char kPrintPreviewStickySettings[] = | 1695 const char kPrintPreviewStickySettings[] = |
1695 "printing.print_preview_sticky_settings"; | 1696 "printing.print_preview_sticky_settings"; |
1696 | |
1697 // The root URL of the cloud print service. | 1697 // The root URL of the cloud print service. |
1698 const char kCloudPrintServiceURL[] = "cloud_print.service_url"; | 1698 const char kCloudPrintServiceURL[] = "cloud_print.service_url"; |
1699 | 1699 |
1700 // The URL to use to sign in to cloud print. | 1700 // The URL to use to sign in to cloud print. |
1701 const char kCloudPrintSigninURL[] = "cloud_print.signin_url"; | 1701 const char kCloudPrintSigninURL[] = "cloud_print.signin_url"; |
1702 | 1702 |
1703 // The last requested size of the dialog as it was closed. | 1703 // The last requested size of the dialog as it was closed. |
1704 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; | 1704 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; |
1705 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; | 1705 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; |
1706 const char kCloudPrintSigninDialogWidth[] = | 1706 const char kCloudPrintSigninDialogWidth[] = |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1988 const char kNetworkProfileLastWarningTime[] = | 1988 const char kNetworkProfileLastWarningTime[] = |
1989 "network_profile.last_warning_time"; | 1989 "network_profile.last_warning_time"; |
1990 | 1990 |
1991 #if defined(OS_MACOSX) | 1991 #if defined(OS_MACOSX) |
1992 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. | 1992 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. |
1993 const char kMacLeopardObsoleteInfobarLastShown[] = | 1993 const char kMacLeopardObsoleteInfobarLastShown[] = |
1994 "mac_105_obsolete_infobar_last_shown"; | 1994 "mac_105_obsolete_infobar_last_shown"; |
1995 #endif // defined(OS_MACOSX) | 1995 #endif // defined(OS_MACOSX) |
1996 | 1996 |
1997 } // namespace prefs | 1997 } // namespace prefs |
OLD | NEW |