| Index: android_webview/native/js_result_handler.h
|
| diff --git a/android_webview/native/js_result_handler.h b/android_webview/native/js_result_handler.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c85b116e1c559841059aaaea9f21295f09c7cddd
|
| --- /dev/null
|
| +++ b/android_webview/native/js_result_handler.h
|
| @@ -0,0 +1,23 @@
|
| +// 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.
|
| +
|
| +#ifndef ANDROID_WEBVIEW_NATIVE_JS_RESULT_HANDLER_H_
|
| +#define ANDROID_WEBVIEW_NATIVE_JS_RESULT_HANDLER_H_
|
| +
|
| +#include "base/android/jni_helper.h"
|
| +#include "base/android/scoped_java_ref.h"
|
| +#include "content/public/browser/javascript_dialogs.h"
|
| +
|
| +namespace android_webview {
|
| +
|
| +bool RegisterJsResultHandler(JNIEnv* env);
|
| +
|
| +base::android::ScopedJavaLocalRef<jobject> createJsResultHandler(
|
| + JNIEnv* env,
|
| + const content::JavaScriptDialogCreator::DialogClosedCallback*
|
| + native_dialog_pointer);
|
| +
|
| +} // namespace android_webview
|
| +
|
| +#endif // ANDROID_WEBVIEW_NATIVE_JS_RESULT_HANDLER_H_
|
|
|