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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 const GURL& opener_top_level_frame_url, | 97 const GURL& opener_top_level_frame_url, |
98 const GURL& source_origin, | 98 const GURL& source_origin, |
99 content::mojom::WindowContainerType container_type, | 99 content::mojom::WindowContainerType container_type, |
100 const GURL& target_url, | 100 const GURL& target_url, |
101 const content::Referrer& referrer, | 101 const content::Referrer& referrer, |
102 const std::string& frame_name, | 102 const std::string& frame_name, |
103 WindowOpenDisposition disposition, | 103 WindowOpenDisposition disposition, |
104 const blink::mojom::WindowFeatures& features, | 104 const blink::mojom::WindowFeatures& features, |
105 bool user_gesture, | 105 bool user_gesture, |
106 bool opener_suppressed, | 106 bool opener_suppressed, |
107 content::ResourceContext* context, | |
108 bool* no_javascript_access) override; | 107 bool* no_javascript_access) override; |
109 void ResourceDispatcherHostCreated() override; | 108 void ResourceDispatcherHostCreated() override; |
110 net::NetLog* GetNetLog() override; | 109 net::NetLog* GetNetLog() override; |
111 void ClearCache(content::RenderFrameHost* rfh) override; | 110 void ClearCache(content::RenderFrameHost* rfh) override; |
112 void ClearCookies(content::RenderFrameHost* rfh) override; | 111 void ClearCookies(content::RenderFrameHost* rfh) override; |
113 base::FilePath GetDefaultDownloadDirectory() override; | 112 base::FilePath GetDefaultDownloadDirectory() override; |
114 std::string GetDefaultDownloadName() override; | 113 std::string GetDefaultDownloadName() override; |
115 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; | 114 void DidCreatePpapiPlugin(content::BrowserPpapiHost* browser_host) override; |
116 bool AllowPepperSocketAPI( | 115 bool AllowPepperSocketAPI( |
117 content::BrowserContext* browser_context, | 116 content::BrowserContext* browser_context, |
(...skipping 26 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 |