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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 2640023008: Enabling autoplay and fullscreen for downloaded media (Closed)
Patch Set: dtrainor@ comments Created 3 years, 10 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: third_party/WebKit/Source/web/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index 8843e8c138ca9c12afb08ba1e8c21d7377dfb91c..ff5ac4d25bd68c60c51d2b22bac5cb63bfa6660c 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -638,6 +638,10 @@ void WebSettingsImpl::setPresentationRequiresUserGesture(bool required) {
m_settings->setPresentationRequiresUserGesture(required);
}
+void WebSettingsImpl::setEmbeddedMediaExperienceEnabled(bool enabled) {
+ m_settings->setEmbeddedMediaExperienceEnabled(enabled);
+}
+
void WebSettingsImpl::setViewportEnabled(bool enabled) {
m_settings->setViewportEnabled(enabled);
}

Powered by Google App Engine
This is Rietveld 408576698