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

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: 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/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 24900f2d9685347b0d0f6ad09601b41484517164..1304b984dc4216f2c6dbc9642721b5f031155597 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
@@ -277,6 +277,7 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient {
/**
* @return The context used for creating this ContentViewCore.
*/
+ @CalledByNative
public Context getContext() {
return mContext;
}
@@ -2638,6 +2639,11 @@ public class ContentViewCore implements MotionEventDelegate, NavigationClient {
getContentViewClient().onExternalVideoSurfaceRequested(playerId);
}
+ @CalledByNative
+ private ContentVideoViewClient getContentVideoViewClient() {
+ return mContentViewClient.getContentVideoViewClient();
+ }
+
private native int nativeInit(boolean hardwareAccelerated, boolean inputEventsDeliveredAtVSync,
int webContentsPtr, int windowAndroidPtr);

Powered by Google App Engine
This is Rietveld 408576698