| Index: content/public/android/java/src/org/chromium/content/browser/JsResultReceiver.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/JsResultReceiver.java b/content/public/android/java/src/org/chromium/content/browser/JsResultReceiver.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bf8e17a192fd1f17ba36786b50c13b2202870eed
|
| --- /dev/null
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/JsResultReceiver.java
|
| @@ -0,0 +1,18 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.content.browser;
|
| +
|
| +/**
|
| + * This interface is used when the ContentViewClient offers a JavaScript
|
| + * modal dialog (alert, beforeunload or confirm) to enable the client to
|
| + * handle the dialog in their own way. ContentViewClient will offer an object
|
| + * that implements this interface to the client and when the client has handled
|
| + * the dialog, it must either callback with confirm() or cancel() to allow
|
| + * processing to continue.
|
| + */
|
| +public interface JsResultReceiver {
|
| + public void confirm();
|
| + public void cancel();
|
| +}
|
|
|