OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ | 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ | 6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ |
7 | 7 |
8 #include <jni.h> | 8 #include <jni.h> |
9 | 9 |
10 #include "android_webview/browser/aw_contents_client_bridge_base.h" | 10 #include "android_webview/browser/aw_contents_client_bridge_base.h" |
11 #include "base/android/jni_helper.h" | 11 #include "base/android/jni_weak_ref.h" |
12 #include "base/android/scoped_java_ref.h" | 12 #include "base/android/scoped_java_ref.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/id_map.h" | 14 #include "base/id_map.h" |
15 #include "content/public/browser/javascript_dialog_manager.h" | 15 #include "content/public/browser/javascript_dialog_manager.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 class X509Certificate; | 18 class X509Certificate; |
19 } | 19 } |
20 | 20 |
21 namespace android_webview { | 21 namespace android_webview { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 IDMap<CertErrorCallback, IDMapOwnPointer> pending_cert_error_callbacks_; | 66 IDMap<CertErrorCallback, IDMapOwnPointer> pending_cert_error_callbacks_; |
67 IDMap<content::JavaScriptDialogManager::DialogClosedCallback, IDMapOwnPointer> | 67 IDMap<content::JavaScriptDialogManager::DialogClosedCallback, IDMapOwnPointer> |
68 pending_js_dialog_callbacks_; | 68 pending_js_dialog_callbacks_; |
69 }; | 69 }; |
70 | 70 |
71 bool RegisterAwContentsClientBridge(JNIEnv* env); | 71 bool RegisterAwContentsClientBridge(JNIEnv* env); |
72 | 72 |
73 } // namespace android_webview | 73 } // namespace android_webview |
74 | 74 |
75 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ | 75 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ |
OLD | NEW |