| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 82 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 83 void AllowCertificateError( | 83 void AllowCertificateError( |
| 84 content::WebContents* web_contents, | 84 content::WebContents* web_contents, |
| 85 int cert_error, | 85 int cert_error, |
| 86 const net::SSLInfo& ssl_info, | 86 const net::SSLInfo& ssl_info, |
| 87 const GURL& request_url, | 87 const GURL& request_url, |
| 88 content::ResourceType resource_type, | 88 content::ResourceType resource_type, |
| 89 bool overridable, | 89 bool overridable, |
| 90 bool strict_enforcement, | 90 bool strict_enforcement, |
| 91 bool expired_previous_decision, | 91 bool expired_previous_decision, |
| 92 const base::Callback<void(bool)>& callback, | 92 const base::Callback<void(content::CertificateRequestResultType)>& |
| 93 content::CertificateRequestResultType* result) override; | 93 callback) override; |
| 94 void SelectClientCertificate( | 94 void SelectClientCertificate( |
| 95 content::WebContents* web_contents, | 95 content::WebContents* web_contents, |
| 96 net::SSLCertRequestInfo* cert_request_info, | 96 net::SSLCertRequestInfo* cert_request_info, |
| 97 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; | 97 std::unique_ptr<content::ClientCertificateDelegate> delegate) override; |
| 98 bool CanCreateWindow(const GURL& opener_url, | 98 bool CanCreateWindow(const GURL& opener_url, |
| 99 const GURL& opener_top_level_frame_url, | 99 const GURL& opener_top_level_frame_url, |
| 100 const GURL& source_origin, | 100 const GURL& source_origin, |
| 101 WindowContainerType container_type, | 101 WindowContainerType container_type, |
| 102 const GURL& target_url, | 102 const GURL& target_url, |
| 103 const content::Referrer& referrer, | 103 const content::Referrer& referrer, |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; | 148 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; |
| 149 | 149 |
| 150 JniDependencyFactory* native_factory_; | 150 JniDependencyFactory* native_factory_; |
| 151 | 151 |
| 152 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 152 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 153 }; | 153 }; |
| 154 | 154 |
| 155 } // namespace android_webview | 155 } // namespace android_webview |
| 156 | 156 |
| 157 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 157 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |