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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 13669003: Refactoring ContentVideoViewContextDelegate.java (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 7 years, 6 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/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index 40f5bea32ab11a5c7d11f03c3d6cd28dcf96973d..8b1fe7f0f07a223a432bd9fa3489ab127b72bbf5 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -398,6 +398,7 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient {
/**
* @return The context used for creating this ContentViewCore.
*/
+ @CalledByNative
public Context getContext() {
return mContext;
}
@@ -2808,6 +2809,11 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient {
private native int nativeInit(boolean hardwareAccelerated, int webContentsPtr,
int viewAndroidPtr, int windowAndroidPtr);
+ @CalledByNative
+ private ContentVideoViewClient getContentVideoViewClient() {
+ return mContentViewClient.getContentVideoViewClient();
+ }
+
private native void nativeOnJavaContentViewCoreDestroyed(int nativeContentViewCoreImpl);
private native void nativeLoadUrl(

Powered by Google App Engine
This is Rietveld 408576698