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

Unified Diff: chrome/browser/flag_descriptions.h

Issue 2837023002: Create autoplay policy flag and merge cross-origin autoplay blocking into it. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/flag_descriptions.h
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index 839e3aed5b09ec13329fec747fc7de11e704544d..6c2a35f9ac308d0d2b8e3ee6ced78a854a7ca58b 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -704,16 +704,6 @@ extern const char kGestureRequirementForMediaPlaybackName[];
// Description for the flag for gesture requiment for media playback
extern const char kGestureRequirementForMediaPlaybackDescription[];
-#if !defined(OS_ANDROID)
-
-// Title for the flag for gesture requiment for media playback
-extern const char kCrossOriginMediaPlaybackRequiresUserGestureName[];
-
-// Description for the flag for gesture requiment for media playback
-extern const char kCrossOriginMediaPlaybackRequiresUserGestureDescription[];
-
-#endif // !defined(OS_ANDROID)
-
// Description for the flag to adjust the default behaviour for document level
// passive touch listeners.
extern const char kPassiveDocumentEventListenersDescription[];
@@ -3300,6 +3290,22 @@ extern const char kEnableIdleTimeSpellCheckingName[];
// Description of the flag that enables Blink's idle time spell checker.
extern const char kEnableIdleTimeSpellCheckingDescription[];
+// Name of the autoplay policy flag.
+extern const char kAutoplayPolicyName[];
+
+// Description of the autoplay policy entry.
+extern const char kAutoplayPolicyDescription[];
+
+// Description of the autoplay policy that requires a user gesture on cross
+// origin iframes.
+extern const char kAutoplayPolicyCrossOriginUserGestureRequired[];
+
+// Description of the autoplay policy that has no restrictions.
+extern const char kAutoplayPolicyNoRestrictions[];
+
+// Description of the autoplay policy that requires a user gesture.
+extern const char kAutoplayPolicyUserGestureRequired[];
+
} // namespace flag_descriptions
#endif // CHROME_BROWSER_FLAG_DESCRIPTIONS_H_

Powered by Google App Engine
This is Rietveld 408576698