| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 const blink::WebWindowFeatures& features, | 101 const blink::WebWindowFeatures& features, |
| 102 bool user_gesture, | 102 bool user_gesture, |
| 103 bool opener_suppressed, | 103 bool opener_suppressed, |
| 104 content::ResourceContext* context, | 104 content::ResourceContext* context, |
| 105 int render_process_id, | 105 int render_process_id, |
| 106 int opener_render_view_id, | 106 int opener_render_view_id, |
| 107 int opener_render_frame_id, | 107 int opener_render_frame_id, |
| 108 bool* no_javascript_access) override; | 108 bool* no_javascript_access) override; |
| 109 void ResourceDispatcherHostCreated() override; | 109 void ResourceDispatcherHostCreated() override; |
| 110 net::NetLog* GetNetLog() override; | 110 net::NetLog* GetNetLog() override; |
| 111 bool IsFastShutdownPossible() override; | |
| 112 void ClearCache(content::RenderFrameHost* rfh) override; | 111 void ClearCache(content::RenderFrameHost* rfh) override; |
| 113 void ClearCookies(content::RenderFrameHost* rfh) override; | 112 void ClearCookies(content::RenderFrameHost* rfh) override; |
| 114 base::FilePath GetDefaultDownloadDirectory() override; | 113 base::FilePath GetDefaultDownloadDirectory() override; |
| 115 std::string GetDefaultDownloadName() override; | 114 std::string GetDefaultDownloadName() override; |
| 116 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 115 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
| 117 bool AllowPepperSocketAPI( | 116 bool AllowPepperSocketAPI( |
| 118 content::BrowserContext* browser_context, | 117 content::BrowserContext* browser_context, |
| 119 const GURL& url, | 118 const GURL& url, |
| 120 bool private_api, | 119 bool private_api, |
| 121 const content::SocketPermissionRequest* params) override; | 120 const content::SocketPermissionRequest* params) override; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 144 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; | 143 std::unique_ptr<AwWebPreferencesPopulater> preferences_populater_; |
| 145 | 144 |
| 146 JniDependencyFactory* native_factory_; | 145 JniDependencyFactory* native_factory_; |
| 147 | 146 |
| 148 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 147 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
| 149 }; | 148 }; |
| 150 | 149 |
| 151 } // namespace android_webview | 150 } // namespace android_webview |
| 152 | 151 |
| 153 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 152 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |