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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2943983003: chrome/blink: Add functionality for in-product help for media elements. (Closed)
Patch Set: tests Created 3 years, 5 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: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index d0f55d420bd524bafcaaebf4e57d5e9a1b088c7f..34c9810ede3edf9d334c77508f7e22cddb754179 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -973,6 +973,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->SetEmbeddedMediaExperienceEnabled(
prefs.embedded_media_experience_enabled);
settings->SetPagePopupsSuppressed(prefs.page_popups_suppressed);
+ settings->SetMediaDownloadInProductHelpEnabled(
+ prefs.enable_media_in_product_help);
settings->SetDoNotUpdateSelectionOnMutatingSelectionRange(
prefs.do_not_update_selection_on_mutating_selection_range);
#endif // defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698