| Index: android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| index a36596dd53b04abed61132ab7af1a074f6810f35..03752d9151f890ae0d667bc595e5447e52d94510 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java
|
| @@ -170,6 +170,14 @@ public class AwContents implements SmartClipProvider,
|
| */
|
| public interface NativeGLDelegate {
|
| /**
|
| + * Set the callback for when the getAwDrawGLFunction objects is safe to be deleted
|
| + * for this view. The callback forms a lifecycle between requestDrawGL (with canvas).
|
| + *
|
| + * @return false if not supported and this is a no-op; true otherwise.
|
| + */
|
| + boolean setDrawGLFunctionDetachedCallback(View view, Runnable callback);
|
| +
|
| + /**
|
| * Requests a callback on the native DrawGL method (see getAwDrawGLFunction)
|
| * if called from within onDraw, |canvas| will be non-null and hardware accelerated.
|
| * Otherwise, |canvas| will be null, and the container view itself will be hardware
|
| @@ -2325,9 +2333,6 @@ public class AwContents implements SmartClipProvider,
|
| mAwViewMethods.onDetachedFromWindow();
|
| }
|
|
|
| - public void onDrawGLFunctorDetached() {
|
| - }
|
| -
|
| /**
|
| * @see android.view.View#onWindowFocusChanged()
|
| */
|
|
|