| 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 CHROME_BROWSER_ANDROID_JS_RESULT_HANDLER_H_ |
| 6 #define CHROME_BROWSER_ANDROID_JS_RESULT_HANDLER_H_ |
| 7 |
| 8 #include "base/android/jni_helper.h" |
| 9 #include "base/android/scoped_java_ref.h" |
| 10 |
| 11 class AppModalDialog; |
| 12 |
| 13 bool RegisterJsResultHandler(JNIEnv* env); |
| 14 |
| 15 base::android::ScopedJavaLocalRef<jobject> createJsResultHandler( |
| 16 JNIEnv* env, |
| 17 AppModalDialog* native_dialog_pointer); |
| 18 void setJsResultHandledByNative(JNIEnv* env, jobject obj); |
| 19 bool clientHasCalledConfirmOrCancel(JNIEnv* env, jobject obj); |
| 20 #endif // CHROME_BROWSER_ANDROID_JS_RESULT_HANDLER_H_ |
| OLD | NEW |