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 "android_webview/browser/aw_web_preferences_populater.h" | 8 #include "android_webview/browser/aw_web_preferences_populater.h" |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 23 matching lines...) Expand all Loading... |
34 virtual void AddCertificate(net::URLRequest* request, | 34 virtual void AddCertificate(net::URLRequest* request, |
35 net::CertificateMimeType cert_type, | 35 net::CertificateMimeType cert_type, |
36 const void* cert_data, | 36 const void* cert_data, |
37 size_t cert_size, | 37 size_t cert_size, |
38 int render_process_id, | 38 int render_process_id, |
39 int render_view_id) OVERRIDE; | 39 int render_view_id) OVERRIDE; |
40 virtual content::BrowserMainParts* CreateBrowserMainParts( | 40 virtual content::BrowserMainParts* CreateBrowserMainParts( |
41 const content::MainFunctionParams& parameters) OVERRIDE; | 41 const content::MainFunctionParams& parameters) OVERRIDE; |
42 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( | 42 virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate( |
43 content::WebContents* web_contents) OVERRIDE; | 43 content::WebContents* web_contents) OVERRIDE; |
44 virtual void RenderProcessHostCreated( | 44 virtual void RenderProcessWillLaunch( |
45 content::RenderProcessHost* host) OVERRIDE; | 45 content::RenderProcessHost* host) OVERRIDE; |
46 virtual net::URLRequestContextGetter* CreateRequestContext( | 46 virtual net::URLRequestContextGetter* CreateRequestContext( |
47 content::BrowserContext* browser_context, | 47 content::BrowserContext* browser_context, |
48 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 48 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
49 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 49 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
50 content::BrowserContext* browser_context, | 50 content::BrowserContext* browser_context, |
51 const base::FilePath& partition_path, | 51 const base::FilePath& partition_path, |
52 bool in_memory, | 52 bool in_memory, |
53 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; | 53 content::ProtocolHandlerMap* protocol_handlers) OVERRIDE; |
54 virtual std::string GetCanonicalEncodingNameByAliasName( | 54 virtual std::string GetCanonicalEncodingNameByAliasName( |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; | 170 scoped_ptr<AwWebPreferencesPopulater> preferences_populater_; |
171 | 171 |
172 JniDependencyFactory* native_factory_; | 172 JniDependencyFactory* native_factory_; |
173 | 173 |
174 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); | 174 DISALLOW_COPY_AND_ASSIGN(AwContentBrowserClient); |
175 }; | 175 }; |
176 | 176 |
177 } // namespace android_webview | 177 } // namespace android_webview |
178 | 178 |
179 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ | 179 #endif // ANDROID_WEBVIEW_LIB_AW_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |