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/macros.h" | 7 #include "base/macros.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "chrome/common/pref_font_webkit_names.h" | 9 #include "chrome/common/pref_font_webkit_names.h" |
10 | 10 |
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1175 // Boolean pref that determines whether the user can enter fullscreen mode. | 1175 // Boolean pref that determines whether the user can enter fullscreen mode. |
1176 // Disabling fullscreen mode also makes kiosk mode unavailable on desktop | 1176 // Disabling fullscreen mode also makes kiosk mode unavailable on desktop |
1177 // platforms. | 1177 // platforms. |
1178 const char kFullscreenAllowed[] = "fullscreen.allowed"; | 1178 const char kFullscreenAllowed[] = "fullscreen.allowed"; |
1179 | 1179 |
1180 // Enable notifications for new devices on the local network that can be | 1180 // Enable notifications for new devices on the local network that can be |
1181 // registered to the user's account, e.g. Google Cloud Print printers. | 1181 // registered to the user's account, e.g. Google Cloud Print printers. |
1182 const char kLocalDiscoveryNotificationsEnabled[] = | 1182 const char kLocalDiscoveryNotificationsEnabled[] = |
1183 "local_discovery.notifications_enabled"; | 1183 "local_discovery.notifications_enabled"; |
1184 | 1184 |
| 1185 #if defined(OS_ANDROID) |
| 1186 // Enable vibration for web notifications. |
| 1187 const char kNotificationsVibrateEnabled[] = "notifications.vibrate_enabled"; |
| 1188 #endif |
| 1189 |
1185 // Maps from app ids to origin + Service Worker registration ID. | 1190 // Maps from app ids to origin + Service Worker registration ID. |
1186 const char kPushMessagingAppIdentifierMap[] = | 1191 const char kPushMessagingAppIdentifierMap[] = |
1187 "gcm.push_messaging_application_id_map"; | 1192 "gcm.push_messaging_application_id_map"; |
1188 | 1193 |
1189 // Maps from origin to background budget information. | 1194 // Maps from origin to background budget information. |
1190 const char kBackgroundBudgetMap[] = "push_messaging.background_budget_map"; | 1195 const char kBackgroundBudgetMap[] = "push_messaging.background_budget_map"; |
1191 | 1196 |
1192 // Whether a user is allowed to use Easy Unlock. | 1197 // Whether a user is allowed to use Easy Unlock. |
1193 const char kEasyUnlockAllowed[] = "easy_unlock.allowed"; | 1198 const char kEasyUnlockAllowed[] = "easy_unlock.allowed"; |
1194 | 1199 |
(...skipping 1017 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2212 const char kMediaRouterEnableCloudServices[] = | 2217 const char kMediaRouterEnableCloudServices[] = |
2213 "media_router.cloudservices.enabled"; | 2218 "media_router.cloudservices.enabled"; |
2214 #endif // defined(GOOGLE_CHROME_BUILD) | 2219 #endif // defined(GOOGLE_CHROME_BUILD) |
2215 // Whether or not the Media Router first run flow has been acknowledged by the | 2220 // Whether or not the Media Router first run flow has been acknowledged by the |
2216 // user. | 2221 // user. |
2217 const char kMediaRouterFirstRunFlowAcknowledged[] = | 2222 const char kMediaRouterFirstRunFlowAcknowledged[] = |
2218 "media_router.firstrunflow.acknowledged"; | 2223 "media_router.firstrunflow.acknowledged"; |
2219 #endif | 2224 #endif |
2220 | 2225 |
2221 } // namespace prefs | 2226 } // namespace prefs |
OLD | NEW |