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 #include "chrome/common/pref_font_webkit_names.h" | 8 #include "chrome/common/pref_font_webkit_names.h" |
9 | 9 |
10 namespace prefs { | 10 namespace prefs { |
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1123 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; | 1123 const char kEditBookmarksEnabled[] = "bookmarks.editing_enabled"; |
1124 | 1124 |
1125 // Boolean that is true when the translate feature is enabled. | 1125 // Boolean that is true when the translate feature is enabled. |
1126 const char kEnableTranslate[] = "translate.enabled"; | 1126 const char kEnableTranslate[] = "translate.enabled"; |
1127 | 1127 |
1128 #if !defined(OS_ANDROID) | 1128 #if !defined(OS_ANDROID) |
1129 const char kPinnedTabs[] = "pinned_tabs"; | 1129 const char kPinnedTabs[] = "pinned_tabs"; |
1130 #endif | 1130 #endif |
1131 | 1131 |
1132 #if defined(OS_ANDROID) | 1132 #if defined(OS_ANDROID) |
1133 // Boolean that controls the enabled-state of Geolocation. | 1133 // Boolean that controls the enabled-state of Geolocation in content. |
1134 const char kGeolocationEnabled[] = "geolocation.enabled"; | 1134 const char kGeolocationEnabled[] = "geolocation.enabled"; |
1135 #endif | 1135 #endif |
1136 | 1136 |
| 1137 #if defined(ENABLE_GOOGLE_NOW) |
| 1138 // Boolean that is true when Google services can use the user's location. |
| 1139 const char kGoogleGeolocationAccessEnabled[] = |
| 1140 "googlegeolocationaccess.enabled"; |
| 1141 #endif |
| 1142 |
1137 // The default audio capture device used by the Media content setting. | 1143 // The default audio capture device used by the Media content setting. |
1138 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device"; | 1144 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device"; |
1139 | 1145 |
1140 // The default video capture device used by the Media content setting. | 1146 // The default video capture device used by the Media content setting. |
1141 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device"; | 1147 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device"; |
1142 | 1148 |
1143 // Preference to disable 3D APIs (WebGL, Pepper 3D). | 1149 // Preference to disable 3D APIs (WebGL, Pepper 3D). |
1144 const char kDisable3DAPIs[] = "disable_3d_apis"; | 1150 const char kDisable3DAPIs[] = "disable_3d_apis"; |
1145 | 1151 |
1146 // Whether to enable hyperlink auditing ("<a ping>"). | 1152 // Whether to enable hyperlink auditing ("<a ping>"). |
(...skipping 1330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2477 | 2483 |
2478 // How often the bubble has been shown. | 2484 // How often the bubble has been shown. |
2479 extern const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; | 2485 extern const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; |
2480 | 2486 |
2481 // A string pref for storing the salt used to compute the pepper device ID. | 2487 // A string pref for storing the salt used to compute the pepper device ID. |
2482 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2488 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
2483 // A boolean pref that enables the (private) pepper GetDeviceID() call. | 2489 // A boolean pref that enables the (private) pepper GetDeviceID() call. |
2484 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2490 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
2485 | 2491 |
2486 } // namespace prefs | 2492 } // namespace prefs |
OLD | NEW |