OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef ANDROID_WEBVIEW_NATIVE_JS_RESULT_HANDLER_H_ |
| 6 #define ANDROID_WEBVIEW_NATIVE_JS_RESULT_HANDLER_H_ |
| 7 |
| 8 #include "base/android/jni_helper.h" |
| 9 #include "base/android/scoped_java_ref.h" |
| 10 #include "content/public/browser/javascript_dialogs.h" |
| 11 |
| 12 namespace android_webview { |
| 13 |
| 14 bool RegisterJsResultHandler(JNIEnv* env); |
| 15 |
| 16 base::android::ScopedJavaLocalRef<jobject> createJsResultHandler( |
| 17 JNIEnv* env, |
| 18 const content::JavaScriptDialogCreator::DialogClosedCallback* |
| 19 native_dialog_pointer); |
| 20 |
| 21 } // namespace android_webview |
| 22 |
| 23 #endif // ANDROID_WEBVIEW_NATIVE_JS_RESULT_HANDLER_H_ |
OLD | NEW |