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

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

Issue 13669003: Refactoring ContentVideoViewContextDelegate.java (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 45dddfd4969938d4d7b75e23748e20216b0b6207..7ba1634549107b4e49fa3e6fce7bec9dec5dbbea 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -269,6 +269,12 @@ class ContentViewCoreImpl : public ContentViewCore,
void RequestExternalVideoSurface(int player_id);
+ base::android::ScopedJavaLocalRef<jobject> GetContentVideoViewClient();
+
+ // Returns the context that the ContentViewCore was created with, it would
+ // typically be an Activity context for an on screen view.
+ base::android::ScopedJavaLocalRef<jobject> GetContext();
+
// --------------------------------------------------------------------------
// Methods called from native code
// --------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698