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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 const GURL& request_url, | 81 const GURL& request_url, |
82 content::ResourceType resource_type, | 82 content::ResourceType resource_type, |
83 bool overridable, | 83 bool overridable, |
84 bool strict_enforcement, | 84 bool strict_enforcement, |
85 bool expired_previous_decision, | 85 bool expired_previous_decision, |
86 const base::Callback<void(content::CertificateRequestResultType)>& | 86 const base::Callback<void(content::CertificateRequestResultType)>& |
87 callback) override; | 87 callback) override; |
88 void SelectClientCertificate( | 88 void SelectClientCertificate( |
89 content::WebContents* web_contents, | 89 content::WebContents* web_contents, |
90 net::SSLCertRequestInfo* cert_request_info, | 90 net::SSLCertRequestInfo* cert_request_info, |
91 net::CertificateList client_certs, | 91 net::ClientCertIdentityList client_certs, |
92 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; | 92 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
93 bool CanCreateWindow(content::RenderFrameHost* opener, | 93 bool CanCreateWindow(content::RenderFrameHost* opener, |
94 const GURL& opener_url, | 94 const GURL& opener_url, |
95 const GURL& opener_top_level_frame_url, | 95 const GURL& opener_top_level_frame_url, |
96 const GURL& source_origin, | 96 const GURL& source_origin, |
97 content::mojom::WindowContainerType container_type, | 97 content::mojom::WindowContainerType container_type, |
98 const GURL& target_url, | 98 const GURL& target_url, |
99 const content::Referrer& referrer, | 99 const content::Referrer& referrer, |
100 const std::string& frame_name, | 100 const std::string& frame_name, |
101 WindowOpenDisposition disposition, | 101 WindowOpenDisposition disposition, |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // Android WebView currently has a single global (non-off-the-record) browser | 136 // Android WebView currently has a single global (non-off-the-record) browser |
137 // context. | 137 // context. |
138 std::unique_ptr<AwBrowserContext> browser_context_; | 138 std::unique_ptr<AwBrowserContext> browser_context_; |
139 | 139 |
140 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 140 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
141 }; | 141 }; |
142 | 142 |
143 } // namespace android_webview | 143 } // namespace android_webview |
144 | 144 |
145 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 145 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |