| Index: chrome/browser/flag_descriptions.cc
|
| diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
| index dc668e722631e6dedbf48e3a48cefe948613896b..aa43666a09105d430d9a83f4baf58ca79d5ebe58 100644
|
| --- a/chrome/browser/flag_descriptions.cc
|
| +++ b/chrome/browser/flag_descriptions.cc
|
| @@ -654,17 +654,6 @@ const char kGestureRequirementForMediaPlaybackDescription[] =
|
| "User gesture requirement for playing media elements. Disabling this "
|
| "will allow autoplay to work.";
|
|
|
| -#if !defined(OS_ANDROID)
|
| -
|
| -const char kCrossOriginMediaPlaybackRequiresUserGestureName[] =
|
| - "Media playback in cross-origin iframes requires user gesture";
|
| -
|
| -const char kCrossOriginMediaPlaybackRequiresUserGestureDescription[] =
|
| - "Playing media elements in cross-origin iframes requires user gesture. "
|
| - "Disabling this will allow autoplay in cross-origin iframes to work.";
|
| -
|
| -#endif // !defined(OS_ANDROID)
|
| -
|
| const char kPassiveDocumentEventListenersDescription[] =
|
| "Forces touchstart, and touchmove event listeners on document level "
|
| "targets (which haven't requested otherwise) to be treated as passive.";
|
| @@ -3047,4 +3036,17 @@ const char kEnableOmniboxClipboardProviderDescription[] =
|
|
|
| #endif // defined(OS_ANDROID)
|
|
|
| +const char kAutoplayPolicyName[] = "Autoplay policy";
|
| +
|
| +const char kAutoplayPolicyDescription[] =
|
| + "Policy used when deciding if audio or video is allowed to autoplay.";
|
| +
|
| +const char kAutoplayPolicyNoUserGestureRequired[] =
|
| + "No user gesture is required.";
|
| +
|
| +const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
|
| +
|
| +const char kAutoplayPolicyCrossOriginUserGestureRequired[] =
|
| + "User gesture is required for cross-origin iframes.";
|
| +
|
| } // namespace flag_descriptions
|
|
|