| 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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 const char kEnableTranslate[] = "translate.enabled"; | 684 const char kEnableTranslate[] = "translate.enabled"; |
| 685 | 685 |
| 686 // Boolean that is true when the bookmark bar for the new tab page is enabled. | 686 // Boolean that is true when the bookmark bar for the new tab page is enabled. |
| 687 const char kEnableBookmarkBar[] = "bookmark_bar.enabled"; | 687 const char kEnableBookmarkBar[] = "bookmark_bar.enabled"; |
| 688 | 688 |
| 689 const char kPinnedTabs[] = "pinned_tabs"; | 689 const char kPinnedTabs[] = "pinned_tabs"; |
| 690 | 690 |
| 691 // Boolean that is true when HTTP throttling is enabled. | 691 // Boolean that is true when HTTP throttling is enabled. |
| 692 const char kHttpThrottlingEnabled[] = "http_throttling.enabled"; | 692 const char kHttpThrottlingEnabled[] = "http_throttling.enabled"; |
| 693 | 693 |
| 694 // Boolean that is true until the user changes the setting of the check-box |
| 695 // that controls whether HTTP throttling is enabled. When this is false, |
| 696 // we do not allow FieldTrial experiments to modify whether the feature |
| 697 // is enabled or not. |
| 698 const char kHttpThrottlingMayExperiment[] = "http_throttling.may_experiment"; |
| 699 |
| 694 // Integer containing the default Geolocation content setting. | 700 // Integer containing the default Geolocation content setting. |
| 695 const char kGeolocationDefaultContentSetting[] = | 701 const char kGeolocationDefaultContentSetting[] = |
| 696 "geolocation.default_content_setting"; | 702 "geolocation.default_content_setting"; |
| 697 | 703 |
| 698 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. | 704 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
| 699 const char kGeolocationContentSettings[] = "geolocation.content_settings"; | 705 const char kGeolocationContentSettings[] = "geolocation.content_settings"; |
| 700 | 706 |
| 701 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 707 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
| 702 const char kDisable3DAPIs[] = "disable_3d_apis"; | 708 const char kDisable3DAPIs[] = "disable_3d_apis"; |
| 703 | 709 |
| (...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1372 // Whether user-specified handlers for protocols and content types can be | 1378 // Whether user-specified handlers for protocols and content types can be |
| 1373 // specified. | 1379 // specified. |
| 1374 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1380 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
| 1375 | 1381 |
| 1376 // Integers that specify the policy refresh rate for device- and user-policy in | 1382 // Integers that specify the policy refresh rate for device- and user-policy in |
| 1377 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1383 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
| 1378 // by the cloud policy subsystem. | 1384 // by the cloud policy subsystem. |
| 1379 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1385 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
| 1380 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1386 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
| 1381 } // namespace prefs | 1387 } // namespace prefs |
| OLD | NEW |