OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 | 661 |
662 // Boolean that is true when the tabstrip is to be laid out vertically down the | 662 // Boolean that is true when the tabstrip is to be laid out vertically down the |
663 // side of the browser window. | 663 // side of the browser window. |
664 const char kUseVerticalTabs[] = "tabs.use_vertical_tabs"; | 664 const char kUseVerticalTabs[] = "tabs.use_vertical_tabs"; |
665 | 665 |
666 // Boolean that is true when the translate feature is enabled. | 666 // Boolean that is true when the translate feature is enabled. |
667 const char kEnableTranslate[] = "translate.enabled"; | 667 const char kEnableTranslate[] = "translate.enabled"; |
668 | 668 |
669 const char kPinnedTabs[] = "pinned_tabs"; | 669 const char kPinnedTabs[] = "pinned_tabs"; |
670 | 670 |
671 // Integer that specifies the policy refresh rate in milliseconds. Not all | 671 // Integer that specifies the policy refresh rate for user policy in |
672 // values are meaningful, so it is clamped to a sane range by the policy | 672 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
673 // provider. | 673 // by the policy provider. |
674 const char kPolicyRefreshRate[] = "policy.refresh_rate"; | 674 const char kPolicyUserPolicyRefreshRate[] = "policy.user_policy_refresh_rate"; |
| 675 |
| 676 // Same as |kPolicyUserPolicyRefreshRate|, but for device policy. |
| 677 const char kPolicyDevicePolicyRefreshRate[] = |
| 678 "policy.device_policy_refresh_rate"; |
675 | 679 |
676 // Integer containing the default Geolocation content setting. | 680 // Integer containing the default Geolocation content setting. |
677 const char kGeolocationDefaultContentSetting[] = | 681 const char kGeolocationDefaultContentSetting[] = |
678 "geolocation.default_content_setting"; | 682 "geolocation.default_content_setting"; |
679 | 683 |
680 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. | 684 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
681 const char kGeolocationContentSettings[] = "geolocation.content_settings"; | 685 const char kGeolocationContentSettings[] = "geolocation.content_settings"; |
682 | 686 |
683 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 687 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
684 const char kDisable3DAPIs[] = "disable_3d_apis"; | 688 const char kDisable3DAPIs[] = "disable_3d_apis"; |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1233 const char kManagedDefaultPluginsSetting[] = | 1237 const char kManagedDefaultPluginsSetting[] = |
1234 "profile.managed_default_content_settings.plugins"; | 1238 "profile.managed_default_content_settings.plugins"; |
1235 const char kManagedDefaultPopupsSetting[] = | 1239 const char kManagedDefaultPopupsSetting[] = |
1236 "profile.managed_default_content_settings.popups"; | 1240 "profile.managed_default_content_settings.popups"; |
1237 | 1241 |
1238 // Dictionary for storing the set of known background pages (keys are extension | 1242 // Dictionary for storing the set of known background pages (keys are extension |
1239 // IDs of background page owners, value is a boolean that is true if the user | 1243 // IDs of background page owners, value is a boolean that is true if the user |
1240 // needs to acknowledge this page. | 1244 // needs to acknowledge this page. |
1241 const char kKnownBackgroundPages[] = "background_pages.known"; | 1245 const char kKnownBackgroundPages[] = "background_pages.known"; |
1242 } // namespace prefs | 1246 } // namespace prefs |
OLD | NEW |