Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Side by Side Diff: android_webview/native/js_result_handler.h

Issue 10907166: Upstream chromium side of modal dialogs for webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « android_webview/native/aw_web_contents_delegate.cc ('k') | android_webview/native/js_result_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698