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 #include "android_webview/browser/aw_content_browser_client.h" | 5 #include "android_webview/browser/aw_content_browser_client.h" |
6 | 6 |
7 #include "android_webview/browser/aw_browser_main_parts.h" | 7 #include "android_webview/browser/aw_browser_main_parts.h" |
8 #include "android_webview/browser/aw_cookie_access_policy.h" | 8 #include "android_webview/browser/aw_cookie_access_policy.h" |
9 #include "android_webview/browser/aw_quota_permission_context.h" | 9 #include "android_webview/browser/aw_quota_permission_context.h" |
10 #include "android_webview/browser/net_disk_cache_remover.h" | 10 #include "android_webview/browser/net_disk_cache_remover.h" |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 const std::vector<std::pair<int, int> >& render_views) { | 189 const std::vector<std::pair<int, int> >& render_views) { |
190 // Android WebView does not yet support web workers. | 190 // Android WebView does not yet support web workers. |
191 return false; | 191 return false; |
192 } | 192 } |
193 | 193 |
194 content::QuotaPermissionContext* | 194 content::QuotaPermissionContext* |
195 AwContentBrowserClient::CreateQuotaPermissionContext() { | 195 AwContentBrowserClient::CreateQuotaPermissionContext() { |
196 return new AwQuotaPermissionContext; | 196 return new AwQuotaPermissionContext; |
197 } | 197 } |
198 | 198 |
199 void AwContentBrowserClient::OpenItem(const FilePath& path) { | |
200 NOTREACHED() << "Android WebView does not use chromium downloads"; | |
201 } | |
202 | |
203 void AwContentBrowserClient::ShowItemInFolder(const FilePath& path) { | |
204 NOTREACHED() << "Android WebView does not use chromium downloads"; | |
205 } | |
206 | |
207 void AwContentBrowserClient::AllowCertificateError( | 199 void AwContentBrowserClient::AllowCertificateError( |
208 int render_process_id, | 200 int render_process_id, |
209 int render_view_id, | 201 int render_view_id, |
210 int cert_error, | 202 int cert_error, |
211 const net::SSLInfo& ssl_info, | 203 const net::SSLInfo& ssl_info, |
212 const GURL& request_url, | 204 const GURL& request_url, |
213 bool overridable, | 205 bool overridable, |
214 bool strict_enforcement, | 206 bool strict_enforcement, |
215 const base::Callback<void(bool)>& callback, | 207 const base::Callback<void(bool)>& callback, |
216 bool* cancel_request) { | 208 bool* cancel_request) { |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 | 327 |
336 bool AwContentBrowserClient::AllowPepperSocketAPI( | 328 bool AwContentBrowserClient::AllowPepperSocketAPI( |
337 content::BrowserContext* browser_context, | 329 content::BrowserContext* browser_context, |
338 const GURL& url, | 330 const GURL& url, |
339 const content::SocketPermissionRequest& params) { | 331 const content::SocketPermissionRequest& params) { |
340 NOTREACHED() << "Android WebView does not support plugins"; | 332 NOTREACHED() << "Android WebView does not support plugins"; |
341 return false; | 333 return false; |
342 } | 334 } |
343 | 335 |
344 } // namespace android_webview | 336 } // namespace android_webview |
OLD | NEW |