| 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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 | 667 |
| 668 // Boolean that is true when the tabstrip is to be laid out vertically down the | 668 // Boolean that is true when the tabstrip is to be laid out vertically down the |
| 669 // side of the browser window. | 669 // side of the browser window. |
| 670 const char kUseVerticalTabs[] = "tabs.use_vertical_tabs"; | 670 const char kUseVerticalTabs[] = "tabs.use_vertical_tabs"; |
| 671 | 671 |
| 672 // Boolean that is true when the translate feature is enabled. | 672 // Boolean that is true when the translate feature is enabled. |
| 673 const char kEnableTranslate[] = "translate.enabled"; | 673 const char kEnableTranslate[] = "translate.enabled"; |
| 674 | 674 |
| 675 const char kPinnedTabs[] = "pinned_tabs"; | 675 const char kPinnedTabs[] = "pinned_tabs"; |
| 676 | 676 |
| 677 // Integer that specifies the policy refresh rate in milliseconds. Not all | 677 // Integer that specifies the policy refresh rate for user policy in |
| 678 // values are meaningful, so it is clamped to a sane range by the policy | 678 // milliseconds. Not all values are meaningful, so it is clamped to a sane |
| 679 // provider. | 679 // range by the cloud policy subsystem. |
| 680 const char kPolicyRefreshRate[] = "policy.refresh_rate"; | 680 const char kPolicyUserPolicyRefreshRate[] = "policy.user_policy_refresh_rate"; |
| 681 |
| 682 // Same as |kPolicyUserPolicyRefreshRate|, but for device policy. |
| 683 const char kPolicyDevicePolicyRefreshRate[] = |
| 684 "policy.device_policy_refresh_rate"; |
| 681 | 685 |
| 682 // Integer containing the default Geolocation content setting. | 686 // Integer containing the default Geolocation content setting. |
| 683 const char kGeolocationDefaultContentSetting[] = | 687 const char kGeolocationDefaultContentSetting[] = |
| 684 "geolocation.default_content_setting"; | 688 "geolocation.default_content_setting"; |
| 685 | 689 |
| 686 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. | 690 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
| 687 const char kGeolocationContentSettings[] = "geolocation.content_settings"; | 691 const char kGeolocationContentSettings[] = "geolocation.content_settings"; |
| 688 | 692 |
| 689 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 693 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
| 690 const char kDisable3DAPIs[] = "disable_3d_apis"; | 694 const char kDisable3DAPIs[] = "disable_3d_apis"; |
| (...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1237 const char kManagedDefaultPluginsSetting[] = | 1241 const char kManagedDefaultPluginsSetting[] = |
| 1238 "profile.managed_default_content_settings.plugins"; | 1242 "profile.managed_default_content_settings.plugins"; |
| 1239 const char kManagedDefaultPopupsSetting[] = | 1243 const char kManagedDefaultPopupsSetting[] = |
| 1240 "profile.managed_default_content_settings.popups"; | 1244 "profile.managed_default_content_settings.popups"; |
| 1241 | 1245 |
| 1242 // Dictionary for storing the set of known background pages (keys are extension | 1246 // Dictionary for storing the set of known background pages (keys are extension |
| 1243 // IDs of background page owners, value is a boolean that is true if the user | 1247 // IDs of background page owners, value is a boolean that is true if the user |
| 1244 // needs to acknowledge this page. | 1248 // needs to acknowledge this page. |
| 1245 const char kKnownBackgroundPages[] = "background_pages.known"; | 1249 const char kKnownBackgroundPages[] = "background_pages.known"; |
| 1246 } // namespace prefs | 1250 } // namespace prefs |
| OLD | NEW |