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_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_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_weak_ref.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 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 // |pending_client_cert_request_delegates_| owns its pointers, but IDMap | 108 // |pending_client_cert_request_delegates_| owns its pointers, but IDMap |
109 // doesn't provide Release, so ownership is managed manually. | 109 // doesn't provide Release, so ownership is managed manually. |
110 IDMap<content::ClientCertificateDelegate*> | 110 IDMap<content::ClientCertificateDelegate*> |
111 pending_client_cert_request_delegates_; | 111 pending_client_cert_request_delegates_; |
112 }; | 112 }; |
113 | 113 |
114 bool RegisterAwContentsClientBridge(JNIEnv* env); | 114 bool RegisterAwContentsClientBridge(JNIEnv* env); |
115 | 115 |
116 } // namespace android_webview | 116 } // namespace android_webview |
117 | 117 |
118 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ | 118 #endif // ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_H_ |
OLD | NEW |