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

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

Issue 12443003: Implement out-of-band video compositing on Android: Step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 7 years, 9 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
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fc9cd5f90f0683ea9405c9f9497abb1ed3b421a6..ebcc5852bf1d6da3cb284830ee728057a378f29e 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -211,6 +211,12 @@ class ContentViewCoreImpl : public ContentViewCore,
jboolean ConsumePendingRendererFrame(JNIEnv* env, jobject obj);
+ void AttachExternalVideoSurface(JNIEnv* env,
+ jobject obj,
+ jint player_id,
+ jobject jsurface);
+ void DetachExternalVideoSurface(JNIEnv* env, jobject obj, jint player_id);
+
// --------------------------------------------------------------------------
// Public methods that call to Java via JNI
// --------------------------------------------------------------------------
@@ -258,6 +264,8 @@ class ContentViewCoreImpl : public ContentViewCore,
void ShowDisambiguationPopup(
const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap);
+ void RequestExternalVideoSurface(int player_id);
+
// --------------------------------------------------------------------------
// Methods called from native code
// --------------------------------------------------------------------------
« no previous file with comments | « no previous file | content/browser/android/content_view_core_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698