| 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 01e5ba835d7076b65edb6552dfc168722542a335..ffe586eff22f8c3cfe49fed538aa3bcfec638b70 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
|
| @@ -226,6 +226,16 @@ public interface WebContents extends Parcelable {
|
| String getLastCommittedUrl();
|
|
|
| /**
|
| + * Register the delegate to be used when content can not be handled by
|
| + * the rendering engine, and should be downloaded instead. This will replace
|
| + * the current delegate, if any.
|
| + * @param delegate An implementation of ContentViewDownloadDelegate.
|
| + */
|
| + void setDownloadDelegate(ContentViewDownloadDelegate delegate);
|
| +
|
| + ContentViewDownloadDelegate getDownloadDelegate();
|
| +
|
| + /**
|
| * Get the InCognito state of WebContents.
|
| *
|
| * @return whether this WebContents is in InCognito mode or not
|
|
|