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