1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org.xwalk.core;
8 * This interface is used when the XWalkContentsClient offers a JavaScript
9 * modal prompt dialog to enable the client to handle the dialog in their own way.
10 * XWalkContentsClient will offer an object that implements this interface to the
11 * client and when the client has handled the dialog, it must either callback with
12 * confirm() or cancel() to allow processing to continue.
14 public interface JsPromptResult {
15 public void confirm(String result);