| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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, |
| 102 const blink::mojom::WindowFeatures& features, | 102 const blink::mojom::WindowFeatures& features, |
| 103 bool user_gesture, | 103 bool user_gesture, |
| 104 bool opener_suppressed, | 104 bool opener_suppressed, |
| 105 bool* no_javascript_access) override; | 105 bool* no_javascript_access) override; |
| 106 void ResourceDispatcherHostCreated() override; | 106 void ResourceDispatcherHostCreated() override; |
| 107 net::NetLog* GetNetLog() override; | 107 net::NetLog* GetNetLog() override; |
| 108 void ClearCache(content::RenderFrameHost* rfh) override; | |
| 109 void ClearCookies(content::RenderFrameHost* rfh) override; | |
| 110 base::FilePath GetDefaultDownloadDirectory() override; | 108 base::FilePath GetDefaultDownloadDirectory() override; |
| 111 std::string GetDefaultDownloadName() override; | 109 std::string GetDefaultDownloadName() override; |
| 112 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 110 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
| 113 bool AllowPepperSocketAPI( | 111 bool AllowPepperSocketAPI( |
| 114 content::BrowserContext* browser_context, | 112 content::BrowserContext* browser_context, |
| 115 const GURL& url, | 113 const GURL& url, |
| 116 bool private_api, | 114 bool private_api, |
| 117 const content::SocketPermissionRequest* params) override; | 115 const content::SocketPermissionRequest* params) override; |
| 118 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context, | 116 bool IsPepperVpnProviderAPIAllowed(content::BrowserContext* browser_context, |
| 119 const GURL& url) override; | 117 const GURL& url) override; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 138 // 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 |
| 139 // context. | 137 // context. |
| 140 std::unique_ptr<AwBrowserContext> browser_context_; | 138 std::unique_ptr<AwBrowserContext> browser_context_; |
| 141 | 139 |
| 142 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 140 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 143 }; | 141 }; |
| 144 | 142 |
| 145 } // namespace android_webview | 143 } // namespace android_webview |
| 146 | 144 |
| 147 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 145 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |