| Index: content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
| index 3c7f70bbfed632537eb6bbe7851df3f8718ac582..892b8243ac533aa4d47c1030f9e9c1cd87082de0 100644
|
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java
|
| @@ -25,7 +25,7 @@ import org.chromium.content.common.TraceEvent;
|
| * Note that only one ContentView can be shown at a time.
|
| */
|
| @JNINamespace("content")
|
| -public class ContentViewRenderView extends FrameLayout {
|
| +public class ContentViewRenderView extends FrameLayout implements CompositorProvider {
|
| private static final int MAX_SWAP_BUFFER_COUNT = 2;
|
|
|
| // The native side of this object.
|
| @@ -290,6 +290,10 @@ public class ContentViewRenderView extends FrameLayout {
|
| }
|
| }
|
|
|
| + public int getNativeCompositorProvider() {
|
| + return nativeGetNativeCompositorProviderPtr(mNativeContentViewRenderView);
|
| + }
|
| +
|
| private native int nativeInit();
|
| private native void nativeDestroy(int nativeContentViewRenderView);
|
| private native void nativeSetCurrentContentView(int nativeContentViewRenderView,
|
| @@ -300,4 +304,5 @@ public class ContentViewRenderView extends FrameLayout {
|
| int width, int height);
|
| private native boolean nativeComposite(int nativeContentViewRenderView);
|
| private native boolean nativeCompositeToBitmap(int nativeContentViewRenderView, Bitmap bitmap);
|
| + private native int nativeGetNativeCompositorProviderPtr(int nativeContentViewRenderView);
|
| }
|
|
|