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

Unified Diff: content/public/common/web_preferences.h

Issue 2547533002: Add flags to enable screen orientation lock for fullscreen video on Android. (Closed)
Patch Set: Created 4 years 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: content/public/common/web_preferences.h
diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
index d7e3f80a2b5c22179f4b20d5513c4aa9943e3f2b..e6ad3dcf1859674a1af9781a0b654de9286d5596 100644
--- a/content/public/common/web_preferences.h
+++ b/content/public/common/web_preferences.h
@@ -247,6 +247,8 @@ struct CONTENT_EXPORT WebPreferences {
// Specifies default setting for spellcheck when the spellcheck attribute is
// not explicitly specified.
bool spellcheck_enabled_by_default;
+ // If enabled, when a video goes fullscreen, the orientation should be locked.
+ bool video_fullscreen_orientation_lock_enabled;
#endif
// Default (used if the page or UA doesn't override these) values for page

Powered by Google App Engine
This is Rietveld 408576698