| Index: content/public/browser/web_contents_delegate.h
|
| diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
|
| index c17ff83c8104dbf0de3bc343a81c89ba7cdbf802..b6e34e4ab1390b7ebc6a746c2364da39a4cb0088 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -26,6 +26,10 @@
|
| #include "ui/gfx/geometry/rect_f.h"
|
| #include "ui/gfx/native_widget_types.h"
|
|
|
| +#if defined(OS_ANDROID)
|
| +#include "base/android/scoped_java_ref.h"
|
| +#endif
|
| +
|
| class GURL;
|
|
|
| namespace base {
|
| @@ -469,6 +473,13 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| virtual void RequestMediaDecodePermission(
|
| WebContents* web_contents,
|
| const base::Callback<void(bool)>& callback);
|
| +
|
| + // Creates a view embedding the video view.
|
| + virtual base::android::ScopedJavaLocalRef<jobject>
|
| + GetContentVideoViewEmbedder();
|
| +
|
| + // Returns true if the given media should be blocked to load.
|
| + virtual bool ShouldBlockMediaRequest(const GURL& url);
|
| #endif
|
|
|
| // Requests permission to access the PPAPI broker. The delegate should return
|
|
|