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

Unified Diff: content/browser/android/content_view_core_impl.h

Issue 132233042: Enable the embedded L1/EME support in WebView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added ExternalVideoSurfaceDelegate.java. Created 6 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: content/browser/android/content_view_core_impl.h
diff --git a/content/browser/android/content_view_core_impl.h b/content/browser/android/content_view_core_impl.h
index 746421066247a07330d048aabb2b090e19f35170..daad66ef55acd64357cf434265071a534ab40807 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -291,10 +291,10 @@ class ContentViewCoreImpl : public ContentViewCore,
// testing/benchmarking purposes
base::android::ScopedJavaLocalRef<jobject> CreateTouchEventSynthesizer();
- // Notifies the java object about the external surface, requesting for one if
- // necessary.
- void NotifyExternalSurface(
- int player_id, bool is_request, const gfx::RectF& rect);
+ void RequestExternalVideoSurface(int player_id);
+ void ReleaseExternalVideoSurface(int player_id);
+ void NotifyExternalVideoSurfacePositionChanged(int player_id,
+ const gfx::RectF& rect);
base::android::ScopedJavaLocalRef<jobject> GetContentVideoViewClient();

Powered by Google App Engine
This is Rietveld 408576698