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, | |
94 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; | 93 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
95 bool CanCreateWindow(content::RenderFrameHost* opener, | 94 bool CanCreateWindow(content::RenderFrameHost* opener, |
96 const GURL& opener_url, | 95 const GURL& opener_url, |
97 const GURL& opener_top_level_frame_url, | 96 const GURL& opener_top_level_frame_url, |
98 const GURL& source_origin, | 97 const GURL& source_origin, |
99 content::mojom::WindowContainerType container_type, | 98 content::mojom::WindowContainerType container_type, |
100 const GURL& target_url, | 99 const GURL& target_url, |
101 const content::Referrer& referrer, | 100 const content::Referrer& referrer, |
102 const std::string& frame_name, | 101 const std::string& frame_name, |
103 WindowOpenDisposition disposition, | 102 WindowOpenDisposition disposition, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; | 142 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; |
144 | 143 |
145 JniDependencyFactory* native_factory_; | 144 JniDependencyFactory* native_factory_; |
146 | 145 |
147 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 146 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
148 }; | 147 }; |
149 | 148 |
150 } // namespace android_webview | 149 } // namespace android_webview |
151 | 150 |
152 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 151 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |