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

Unified Diff: content/public/browser/web_contents_delegate.cc

Issue 2353063005: Refactor ContentViewClient (1/6) (Closed)
Patch Set: rebased Created 4 years, 3 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/public/browser/web_contents_delegate.cc
diff --git a/content/public/browser/web_contents_delegate.cc b/content/public/browser/web_contents_delegate.cc
index 399255a3b004404535e33cddf324268b323e747b..b3c1ac92447be2aa9318460402fde45815b3d912 100644
--- a/content/public/browser/web_contents_delegate.cc
+++ b/content/public/browser/web_contents_delegate.cc
@@ -208,6 +208,15 @@ void WebContentsDelegate::RequestMediaDecodePermission(
const base::Callback<void(bool)>& callback) {
callback.Run(false);
}
+
+base::android::ScopedJavaLocalRef<jobject>
+WebContentsDelegate::GetContentVideoViewEmbedder() {
+ return base::android::ScopedJavaLocalRef<jobject>();
+}
+
+bool WebContentsDelegate::ShouldBlockMediaRequest(const GURL& url) {
+ return false;
+}
#endif
bool WebContentsDelegate::RequestPpapiBrokerPermission(

Powered by Google App Engine
This is Rietveld 408576698