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

Side by Side Diff: chrome/browser/flag_descriptions.cc

Issue 2778693004: Remove navigator.vibrate without user gesture. (Closed)
Patch Set: reformat Created 3 years, 8 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/browser/flag_descriptions.h ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/browser/flag_descriptions.h" 5 #include "chrome/browser/flag_descriptions.h"
6 6
7 namespace flag_descriptions { 7 namespace flag_descriptions {
8 8
9 // Material Design version of chrome://bookmarks 9 // Material Design version of chrome://bookmarks
10 10
(...skipping 2469 matching lines...) Expand 10 before | Expand all | Expand 10 after
2480 "for faster layout."; 2480 "for faster layout.";
2481 2481
2482 const char kFramebustingName[] = 2482 const char kFramebustingName[] =
2483 "Framebusting requires same-origin or a user gesture"; 2483 "Framebusting requires same-origin or a user gesture";
2484 2484
2485 const char kFramebustingDescription[] = 2485 const char kFramebustingDescription[] =
2486 "Don't permit an iframe to navigate the top level browsing context " 2486 "Don't permit an iframe to navigate the top level browsing context "
2487 "unless they are same-origin or the iframe is processing a user " 2487 "unless they are same-origin or the iframe is processing a user "
2488 "gesture."; 2488 "gesture.";
2489 2489
2490 const char kVibrateRequiresUserGestureName[] =
2491 "Requiring user gesture for the Vibration API";
2492
2493 const char kVibrateRequiresUserGestureDescription[] =
2494 "Block the Vibration API if no user gesture has been received on "
2495 "the frame or any embedded frame.";
2496
2490 #if defined(OS_ANDROID) 2497 #if defined(OS_ANDROID)
2491 2498
2492 const char kEnableVrShellName[] = "Enable Chrome VR."; 2499 const char kEnableVrShellName[] = "Enable Chrome VR.";
2493 2500
2494 const char kEnableVrShellDescription[] = 2501 const char kEnableVrShellDescription[] =
2495 "Allow browsing with a VR headset if available for this device."; 2502 "Allow browsing with a VR headset if available for this device.";
2496 2503
2497 #endif // defined(OS_ANDROID) 2504 #endif // defined(OS_ANDROID)
2498 2505
2499 // Web payments 2506 // Web payments
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
2981 const char kEnableCopylessPasteDescription[] = 2988 const char kEnableCopylessPasteDescription[] =
2982 "Provide suggestions for text input, based on your recent context. For " 2989 "Provide suggestions for text input, based on your recent context. For "
2983 "example, if you looked at a restaurant website and switched to the Maps " 2990 "example, if you looked at a restaurant website and switched to the Maps "
2984 "app, the keyboard would offer the name of that restaurant as a suggestion " 2991 "app, the keyboard would offer the name of that restaurant as a suggestion "
2985 "to enter into the search bar. The data is indexed locally, and never sent " 2992 "to enter into the search bar. The data is indexed locally, and never sent "
2986 "to the server. It's disabled in incognito mode."; 2993 "to the server. It's disabled in incognito mode.";
2987 2994
2988 #endif // defined(OS_ANDROID) 2995 #endif // defined(OS_ANDROID)
2989 2996
2990 } // namespace flag_descriptions 2997 } // namespace flag_descriptions
OLDNEW
« no previous file with comments | « chrome/browser/flag_descriptions.h ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698