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

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

Issue 2437423002: Move NewLoginRequest plumbing to AwContentsClientBridge (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
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"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 bool has_user_gesture, 60 bool has_user_gesture,
61 bool is_redirect, 61 bool is_redirect,
62 bool is_main_frame) override; 62 bool is_main_frame) override;
63 63
64 void NewDownload(const GURL& url, 64 void NewDownload(const GURL& url,
65 const std::string& user_agent, 65 const std::string& user_agent,
66 const std::string& content_disposition, 66 const std::string& content_disposition,
67 const std::string& mime_type, 67 const std::string& mime_type,
68 int64_t content_length) override; 68 int64_t content_length) override;
69 69
70 void NewLoginRequest(const std::string& realm,
71 const std::string& account,
72 const std::string& args) override;
73
70 // Methods called from Java. 74 // Methods called from Java.
71 void ProceedSslError(JNIEnv* env, 75 void ProceedSslError(JNIEnv* env,
72 const base::android::JavaRef<jobject>& obj, 76 const base::android::JavaRef<jobject>& obj,
73 jboolean proceed, 77 jboolean proceed,
74 jint id); 78 jint id);
75 void ProvideClientCertificateResponse( 79 void ProvideClientCertificateResponse(
76 JNIEnv* env, 80 JNIEnv* env,
77 const base::android::JavaRef<jobject>& object, 81 const base::android::JavaRef<jobject>& object,
78 jint request_id, 82 jint request_id,
79 const base::android::JavaRef<jobjectArray>& encoded_chain_ref, 83 const base::android::JavaRef<jobjectArray>& encoded_chain_ref,
(...skipping 18 matching lines...) Expand all
98 // doesn't provide Release, so ownership is managed manually. 102 // doesn't provide Release, so ownership is managed manually.
99 IDMap<content::ClientCertificateDelegate> 103 IDMap<content::ClientCertificateDelegate>
100 pending_client_cert_request_delegates_; 104 pending_client_cert_request_delegates_;
101 }; 105 };
102 106
103 bool RegisterAwContentsClientBridge(JNIEnv* env); 107 bool RegisterAwContentsClientBridge(JNIEnv* env);
104 108
105 } // namespace android_webview 109 } // namespace android_webview
106 110
107 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_ 111 #endif // ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_CLIENT_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698