| Index: chrome/browser/flag_descriptions.cc
|
| diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
|
| index 0d952353bfd79c551530e55f5f021f6752df96a3..1f037e05bd3118dc712693c545d1c51d31150502 100644
|
| --- a/chrome/browser/flag_descriptions.cc
|
| +++ b/chrome/browser/flag_descriptions.cc
|
| @@ -645,17 +645,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.";
|
| @@ -3033,4 +3022,16 @@ const char kEnableIdleTimeSpellCheckingDescription[] =
|
| "Make spell-checking code run only when the browser is idle, so that input "
|
| "latency is reduced, especially when editing long articles, emails, etc.";
|
|
|
| +const char kAutoplayPolicyName[] = "Autoplay policy";
|
| +
|
| +const char kAutoplayPolicyDescription[] =
|
| + "Policy used when deciding if audio or video is allowed to autoplay.";
|
| +
|
| +const char kAutoplayPolicyNoRestrictions[] = "No restrictions apply.";
|
| +
|
| +const char kAutoplayPolicyUserGestureRequired[] = "User gesture is required.";
|
| +
|
| +const char kAutoplayPolicyCrossOriginUserGestureRequired[] =
|
| + "User gesture is required for cross-origin iframes.";
|
| +
|
| } // namespace flag_descriptions
|
|
|