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 |
11 // *************** PROFILE PREFS *************** | 11 // *************** PROFILE PREFS *************** |
12 // These are attached to the user profile | 12 // These are attached to the user profile |
13 | 13 |
14 // A counter that controls whether the apps promo is shown in the app launcher | |
15 // or not. | |
16 const char kAppsPromoCounter[] = "apps_promo_counter"; | |
17 | |
18 // A string property indicating whether default apps should be installed | 14 // A string property indicating whether default apps should be installed |
19 // in this profile. Use the value "install" to enable defaults apps, or | 15 // in this profile. Use the value "install" to enable defaults apps, or |
20 // "noinstall" to disable them. This property is usually set in the | 16 // "noinstall" to disable them. This property is usually set in the |
21 // master_preferences and copied into the profile preferences on first run. | 17 // master_preferences and copied into the profile preferences on first run. |
22 // Defaults apps are installed only when creating a new profile. | 18 // Defaults apps are installed only when creating a new profile. |
23 const char kDefaultApps[] = "default_apps"; | 19 const char kDefaultApps[] = "default_apps"; |
24 | 20 |
25 // Whether we have installed default apps yet in this profile. | 21 // Whether we have installed default apps yet in this profile. |
26 const char kDefaultAppsInstalled[] = "default_apps_installed"; | 22 const char kDefaultAppsInstalled[] = "default_apps_installed"; |
27 | 23 |
(...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1525 | 1521 |
1526 // The "hide this" link text for the NTP web store promo. | 1522 // The "hide this" link text for the NTP web store promo. |
1527 const char kNtpWebStorePromoExpire[] = "ntp.webstorepromo.expire"; | 1523 const char kNtpWebStorePromoExpire[] = "ntp.webstorepromo.expire"; |
1528 | 1524 |
1529 // Specifies what users should maximize the NTP web store promo. | 1525 // Specifies what users should maximize the NTP web store promo. |
1530 const char kNtpWebStorePromoUserGroup[] = "ntp.webstorepromo.usergroup"; | 1526 const char kNtpWebStorePromoUserGroup[] = "ntp.webstorepromo.usergroup"; |
1531 | 1527 |
1532 // Customized app page names that appear on the New Tab Page. | 1528 // Customized app page names that appear on the New Tab Page. |
1533 const char kNtpAppPageNames[] = "ntp.app_page_names"; | 1529 const char kNtpAppPageNames[] = "ntp.app_page_names"; |
1534 | 1530 |
1535 // When true, web store promos will never be shown. | |
1536 const char kNtpHideWebStorePromo[] = "ntp.hide_webstore_promo"; | |
1537 | |
1538 const char kDevToolsDisabled[] = "devtools.disabled"; | 1531 const char kDevToolsDisabled[] = "devtools.disabled"; |
1539 | 1532 |
1540 // A boolean specifying whether dev tools window should be opened docked. | 1533 // A boolean specifying whether dev tools window should be opened docked. |
1541 const char kDevToolsOpenDocked[] = "devtools.open_docked"; | 1534 const char kDevToolsOpenDocked[] = "devtools.open_docked"; |
1542 | 1535 |
1543 // A string specifying the dock location (either 'bottom' or 'right'). | 1536 // A string specifying the dock location (either 'bottom' or 'right'). |
1544 const char kDevToolsDockSide[] = "devtools.dock_side"; | 1537 const char kDevToolsDockSide[] = "devtools.dock_side"; |
1545 | 1538 |
1546 // Integer location of the horizontal split bar in the browser view. | 1539 // Integer location of the horizontal split bar in the browser view. |
1547 const char kDevToolsHSplitLocation[] = "devtools.split_location"; | 1540 const char kDevToolsHSplitLocation[] = "devtools.split_location"; |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1968 const char kNetworkProfileLastWarningTime[] = | 1961 const char kNetworkProfileLastWarningTime[] = |
1969 "network_profile.last_warning_time"; | 1962 "network_profile.last_warning_time"; |
1970 | 1963 |
1971 #if defined(OS_MACOSX) | 1964 #if defined(OS_MACOSX) |
1972 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. | 1965 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. |
1973 const char kMacLeopardObsoleteInfobarLastShown[] = | 1966 const char kMacLeopardObsoleteInfobarLastShown[] = |
1974 "mac_105_obsolete_infobar_last_shown"; | 1967 "mac_105_obsolete_infobar_last_shown"; |
1975 #endif // defined(OS_MACOSX) | 1968 #endif // defined(OS_MACOSX) |
1976 | 1969 |
1977 } // namespace prefs | 1970 } // namespace prefs |
OLD | NEW |