| Index: content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
|
| diff --git a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
|
| index a76a5a027f00a3eef9876ab7f5890d13af62f655..78754181777fe14be68ebfb0a7f467fb2720d4ac 100644
|
| --- a/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
|
| +++ b/content/public/android/java/src/org/chromium/content_public/browser/WebContents.java
|
| @@ -4,6 +4,8 @@
|
|
|
| package org.chromium.content_public.browser;
|
|
|
| +import android.content.Context;
|
| +
|
| /**
|
| * The WebContents Java wrapper to allow communicating with the native WebContents object.
|
| */
|
| @@ -163,4 +165,15 @@ public interface WebContents {
|
| */
|
| public void evaluateJavaScript(String script, JavaScriptCallback callback);
|
|
|
| + /**
|
| + * Sets the Context for this WebContents
|
| + * @param context The Context to be set in WebContents.
|
| + */
|
| + public void setContext(Context context);
|
| +
|
| + /**
|
| + * Gets the Context of this WebContents
|
| + * @return The Context of this WebContents.
|
| + */
|
| + public Context getContext();
|
| }
|
|
|