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 <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 const GURL& request_url, | 83 const GURL& request_url, |
84 content::ResourceType resource_type, | 84 content::ResourceType resource_type, |
85 bool overridable, | 85 bool overridable, |
86 bool strict_enforcement, | 86 bool strict_enforcement, |
87 bool expired_previous_decision, | 87 bool expired_previous_decision, |
88 const base::Callback<void(content::CertificateRequestResultType)>& | 88 const base::Callback<void(content::CertificateRequestResultType)>& |
89 callback) override; | 89 callback) override; |
90 void SelectClientCertificate( | 90 void SelectClientCertificate( |
91 content::WebContents* web_contents, | 91 content::WebContents* web_contents, |
92 net::SSLCertRequestInfo* cert_request_info, | 92 net::SSLCertRequestInfo* cert_request_info, |
| 93 net::CertificateList client_certs, |
93 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; | 94 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
94 bool CanCreateWindow(content::RenderFrameHost* opener, | 95 bool CanCreateWindow(content::RenderFrameHost* opener, |
95 const GURL& opener_url, | 96 const GURL& opener_url, |
96 const GURL& opener_top_level_frame_url, | 97 const GURL& opener_top_level_frame_url, |
97 const GURL& source_origin, | 98 const GURL& source_origin, |
98 content::mojom::WindowContainerType container_type, | 99 content::mojom::WindowContainerType container_type, |
99 const GURL& target_url, | 100 const GURL& target_url, |
100 const content::Referrer& referrer, | 101 const content::Referrer& referrer, |
101 const std::string& frame_name, | 102 const std::string& frame_name, |
102 WindowOpenDisposition disposition, | 103 WindowOpenDisposition disposition, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; | 143 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; |
143 | 144 |
144 JniDependencyFactory* native_factory_; | 145 JniDependencyFactory* native_factory_; |
145 | 146 |
146 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 147 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
147 }; | 148 }; |
148 | 149 |
149 } // namespace android_webview | 150 } // namespace android_webview |
150 | 151 |
151 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 152 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |