| 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 864 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 875 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; | 875 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; |
| 876 | 876 |
| 877 // Boolean that is true when the translate feature is enabled. | 877 // Boolean that is true when the translate feature is enabled. |
| 878 const char kEnableTranslate[] = "translate.enabled"; | 878 const char kEnableTranslate[] = "translate.enabled"; |
| 879 | 879 |
| 880 const char kPinnedTabs[] = "pinned_tabs"; | 880 const char kPinnedTabs[] = "pinned_tabs"; |
| 881 | 881 |
| 882 // Boolean that is true when HTTP throttling is enabled. | 882 // Boolean that is true when HTTP throttling is enabled. |
| 883 const char kHttpThrottlingEnabled[] = "http_throttling.enabled"; | 883 const char kHttpThrottlingEnabled[] = "http_throttling.enabled"; |
| 884 | 884 |
| 885 // Boolean that is true until the user changes the setting of the check-box | |
| 886 // that controls whether HTTP throttling is enabled. When this is false, | |
| 887 // we do not allow FieldTrial experiments to modify whether the feature | |
| 888 // is enabled or not. | |
| 889 const char kHttpThrottlingMayExperiment[] = "http_throttling.may_experiment"; | |
| 890 | |
| 891 // Integer containing the default Geolocation content setting. | 885 // Integer containing the default Geolocation content setting. |
| 892 const char kGeolocationDefaultContentSetting[] = | 886 const char kGeolocationDefaultContentSetting[] = |
| 893 "geolocation.default_content_setting"; | 887 "geolocation.default_content_setting"; |
| 894 | 888 |
| 895 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. | 889 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. |
| 896 const char kGeolocationContentSettings[] = "geolocation.content_settings"; | 890 const char kGeolocationContentSettings[] = "geolocation.content_settings"; |
| 897 | 891 |
| 898 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 892 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
| 899 const char kDisable3DAPIs[] = "disable_3d_apis"; | 893 const char kDisable3DAPIs[] = "disable_3d_apis"; |
| 900 | 894 |
| (...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1806 const char kMinFlickSpeedSquared[] = | 1800 const char kMinFlickSpeedSquared[] = |
| 1807 "gesture.min_flick_speed_squared"; | 1801 "gesture.min_flick_speed_squared"; |
| 1808 const char kMinimumTouchDownDurationInSecondsForClick[] = | 1802 const char kMinimumTouchDownDurationInSecondsForClick[] = |
| 1809 "gesture.minimum_touch_down_duration_in_seconds_for_click"; | 1803 "gesture.minimum_touch_down_duration_in_seconds_for_click"; |
| 1810 #endif | 1804 #endif |
| 1811 | 1805 |
| 1812 // Indicates whether the browser is in managed mode. | 1806 // Indicates whether the browser is in managed mode. |
| 1813 const char kInManagedMode[] = "managed_mode"; | 1807 const char kInManagedMode[] = "managed_mode"; |
| 1814 | 1808 |
| 1815 } // namespace prefs | 1809 } // namespace prefs |
| OLD | NEW |