| Index: chrome/browser/android/js_result_handler.h
|
| diff --git a/chrome/browser/android/js_result_handler.h b/chrome/browser/android/js_result_handler.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f03cef55a74dfde6ed52a8deae57a0f6cb989ec0
|
| --- /dev/null
|
| +++ b/chrome/browser/android/js_result_handler.h
|
| @@ -0,0 +1,20 @@
|
| +// 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 CHROME_BROWSER_ANDROID_JS_RESULT_HANDLER_H_
|
| +#define CHROME_BROWSER_ANDROID_JS_RESULT_HANDLER_H_
|
| +
|
| +#include "base/android/jni_helper.h"
|
| +#include "base/android/scoped_java_ref.h"
|
| +
|
| +class AppModalDialog;
|
| +
|
| +bool RegisterJsResultHandler(JNIEnv* env);
|
| +
|
| +base::android::ScopedJavaLocalRef<jobject> createJsResultHandler(
|
| + JNIEnv* env,
|
| + AppModalDialog* native_dialog_pointer);
|
| +void setJsResultHandledByNative(JNIEnv* env, jobject obj);
|
| +bool clientHasCalledConfirmOrCancel(JNIEnv* env, jobject obj);
|
| +#endif // CHROME_BROWSER_ANDROID_JS_RESULT_HANDLER_H_
|
|
|