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

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: using weak reference in native side 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 72a7256e6392926b193fc73f311725e0523716e4..c2298581cfe241bed5f624736fa15b3761d522c5 100644
--- a/content/browser/android/content_view_core_impl.h
+++ b/content/browser/android/content_view_core_impl.h
@@ -271,6 +271,12 @@ class ContentViewCoreImpl : public ContentViewCore,
void RequestExternalVideoSurface(int player_id);
+ base::android::ScopedJavaLocalRef<jobject> GetContentVideoViewClient();
+
+ // Returns the Activity context associated with ContentViewCore.
+ // Note: This context is different with base::android::GetApplicationContext().
+ base::android::ScopedJavaLocalRef<jobject> GetContext();
joth 2013/04/12 17:56:24 This is misleading, as CVC can be used without an
michaelbai 2013/04/18 18:21:59 Done.
+
// --------------------------------------------------------------------------
// Methods called from native code
// --------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698