| OLD | NEW |
| 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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 | 647 |
| 648 const char kEnableTokenBindingDescription[] = "Enable Token Binding support."; | 648 const char kEnableTokenBindingDescription[] = "Enable Token Binding support."; |
| 649 | 649 |
| 650 const char kGestureRequirementForMediaPlaybackName[] = | 650 const char kGestureRequirementForMediaPlaybackName[] = |
| 651 "Gesture requirement for media playback"; | 651 "Gesture requirement for media playback"; |
| 652 | 652 |
| 653 const char kGestureRequirementForMediaPlaybackDescription[] = | 653 const char kGestureRequirementForMediaPlaybackDescription[] = |
| 654 "User gesture requirement for playing media elements. Disabling this " | 654 "User gesture requirement for playing media elements. Disabling this " |
| 655 "will allow autoplay to work."; | 655 "will allow autoplay to work."; |
| 656 | 656 |
| 657 #if !defined(OS_ANDROID) | |
| 658 | |
| 659 const char kCrossOriginMediaPlaybackRequiresUserGestureName[] = | |
| 660 "Media playback in cross-origin iframes requires user gesture"; | |
| 661 | |
| 662 const char kCrossOriginMediaPlaybackRequiresUserGestureDescription[] = | |
| 663 "Playing media elements in cross-origin iframes requires user gesture. " | |
| 664 "Disabling this will allow autoplay in cross-origin iframes to work."; | |
| 665 | |
| 666 #endif // !defined(OS_ANDROID) | |
| 667 | |
| 668 const char kPassiveDocumentEventListenersDescription[] = | 657 const char kPassiveDocumentEventListenersDescription[] = |
| 669 "Forces touchstart, and touchmove event listeners on document level " | 658 "Forces touchstart, and touchmove event listeners on document level " |
| 670 "targets (which haven't requested otherwise) to be treated as passive."; | 659 "targets (which haven't requested otherwise) to be treated as passive."; |
| 671 | 660 |
| 672 const char kPassiveDocumentEventListenersName[] = | 661 const char kPassiveDocumentEventListenersName[] = |
| 673 "Document Level Event Listeners Passive Default"; | 662 "Document Level Event Listeners Passive Default"; |
| 674 | 663 |
| 675 const char kPassiveEventListenersDueToFlingDescription[] = | 664 const char kPassiveEventListenersDueToFlingDescription[] = |
| 676 "Forces touchstart, and first touchmove per scroll event listeners " | 665 "Forces touchstart, and first touchmove per scroll event listeners " |
| 677 "during fling to be treated as passive."; | 666 "during fling to be treated as passive."; |
| (...skipping 2362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3040 | 3029 |
| 3041 const char kEnableOmniboxClipboardProviderName[] = | 3030 const char kEnableOmniboxClipboardProviderName[] = |
| 3042 "Omnibox clipboard URL suggestions"; | 3031 "Omnibox clipboard URL suggestions"; |
| 3043 | 3032 |
| 3044 const char kEnableOmniboxClipboardProviderDescription[] = | 3033 const char kEnableOmniboxClipboardProviderDescription[] = |
| 3045 "Provide a suggestion of the URL stored in the clipboard (if any) upon " | 3034 "Provide a suggestion of the URL stored in the clipboard (if any) upon " |
| 3046 "focus in the omnibox."; | 3035 "focus in the omnibox."; |
| 3047 | 3036 |
| 3048 #endif // defined(OS_ANDROID) | 3037 #endif // defined(OS_ANDROID) |
| 3049 | 3038 |
| 3039 const char kAutoplayPolicyName[] = "Autoplay policy"; |
| 3040 |
| 3041 const char kAutoplayPolicyDescription[] = |
| 3042 "Policy used when deciding if audio or video is allowed to autoplay."; |
| 3043 |
| 3044 const char kAutoplayPolicyNoUserGestureRequired[] = |
| 3045 "No user gesture is required."; |
| 3046 |
| 3047 const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required."; |
| 3048 |
| 3049 const char kAutoplayPolicyCrossOriginUserGestureRequired[] = |
| 3050 "User gesture is required for cross-origin iframes."; |
| 3051 |
| 3050 } // namespace flag_descriptions | 3052 } // namespace flag_descriptions |
| OLD | NEW |