Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: chrome/common/pref_names.cc

Issue 2039953002: Add a preference for disabling vibration in notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Address Dan's comments. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698