OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 6 #define ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include "android_webview/browser/aw_web_preferences_populater.h" | 8 #include "android_webview/browser/aw_web_preferences_populater.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 int cert_error, | 95 int cert_error, |
96 const net::SSLInfo& ssl_info, | 96 const net::SSLInfo& ssl_info, |
97 const GURL& request_url, | 97 const GURL& request_url, |
98 content::ResourceType resource_type, | 98 content::ResourceType resource_type, |
99 bool overridable, | 99 bool overridable, |
100 bool strict_enforcement, | 100 bool strict_enforcement, |
101 bool expired_previous_decision, | 101 bool expired_previous_decision, |
102 const base::Callback<void(bool)>& callback, | 102 const base::Callback<void(bool)>& callback, |
103 content::CertificateRequestResultType* result) override; | 103 content::CertificateRequestResultType* result) override; |
104 void SelectClientCertificate( | 104 void SelectClientCertificate( |
105 int render_process_id, | 105 content::WebContents* web_contents, |
106 int render_frame_id, | |
107 net::SSLCertRequestInfo* cert_request_info, | 106 net::SSLCertRequestInfo* cert_request_info, |
108 const base::Callback<void(net::X509Certificate*)>& callback) override; | 107 scoped_ptr<content::ClientCertificateDelegate> delegate) override; |
109 void RequestPermission( | 108 void RequestPermission( |
110 content::PermissionType permission, | 109 content::PermissionType permission, |
111 content::WebContents* web_contents, | 110 content::WebContents* web_contents, |
112 int bridge_id, | 111 int bridge_id, |
113 const GURL& requesting_frame, | 112 const GURL& requesting_frame, |
114 bool user_gesture, | 113 bool user_gesture, |
115 const base::Callback<void(bool)>& result_callback) override; | 114 const base::Callback<void(bool)>& result_callback) override; |
116 void CancelPermissionRequest(content::PermissionType permission, | 115 void CancelPermissionRequest(content::PermissionType permission, |
117 content::WebContents* web_contents, | 116 content::WebContents* web_contents, |
118 int bridge_id, | 117 int bridge_id, |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 161 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
163 | 162 |
164 JniDependencyFactory* native_factory_; | 163 JniDependencyFactory* native_factory_; |
165 | 164 |
166 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 165 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
167 }; | 166 }; |
168 | 167 |
169 } // namespace android_webview | 168 } // namespace android_webview |
170 | 169 |
171 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 170 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |