OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 18 matching lines...) Expand all Loading... | |
29 ShellContentBrowserClient(); | 29 ShellContentBrowserClient(); |
30 virtual ~ShellContentBrowserClient(); | 30 virtual ~ShellContentBrowserClient(); |
31 | 31 |
32 // ContentBrowserClient overrides. | 32 // ContentBrowserClient overrides. |
33 virtual BrowserMainParts* CreateBrowserMainParts( | 33 virtual BrowserMainParts* CreateBrowserMainParts( |
34 const MainFunctionParams& parameters) OVERRIDE; | 34 const MainFunctionParams& parameters) OVERRIDE; |
35 virtual void RenderProcessWillLaunch(RenderProcessHost* host) OVERRIDE; | 35 virtual void RenderProcessWillLaunch(RenderProcessHost* host) OVERRIDE; |
36 virtual net::URLRequestContextGetter* CreateRequestContext( | 36 virtual net::URLRequestContextGetter* CreateRequestContext( |
37 BrowserContext* browser_context, | 37 BrowserContext* browser_context, |
38 ProtocolHandlerMap* protocol_handlers, | 38 ProtocolHandlerMap* protocol_handlers, |
39 ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; | 39 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE; |
jam
2014/05/30 01:19:15
ok i won't mention this in another comment to save
mmenke
2014/05/30 14:40:22
Too much copy-paste. Done. I've gone over all th
| |
40 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 40 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
41 BrowserContext* browser_context, | 41 BrowserContext* browser_context, |
42 const base::FilePath& partition_path, | 42 const base::FilePath& partition_path, |
43 bool in_memory, | 43 bool in_memory, |
44 ProtocolHandlerMap* protocol_handlers, | 44 ProtocolHandlerMap* protocol_handlers, |
45 ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; | 45 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE; |
46 virtual bool IsHandledURL(const GURL& url) OVERRIDE; | 46 virtual bool IsHandledURL(const GURL& url) OVERRIDE; |
47 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 47 virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
48 int child_process_id) OVERRIDE; | 48 int child_process_id) OVERRIDE; |
49 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, | 49 virtual void OverrideWebkitPrefs(RenderViewHost* render_view_host, |
50 const GURL& url, | 50 const GURL& url, |
51 WebPreferences* prefs) OVERRIDE; | 51 WebPreferences* prefs) OVERRIDE; |
52 virtual void ResourceDispatcherHostCreated() OVERRIDE; | 52 virtual void ResourceDispatcherHostCreated() OVERRIDE; |
53 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; | 53 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; |
54 virtual std::string GetDefaultDownloadName() OVERRIDE; | 54 virtual std::string GetDefaultDownloadName() OVERRIDE; |
55 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( | 55 virtual WebContentsViewDelegate* GetWebContentsViewDelegate( |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
90 resource_dispatcher_host_delegate_; | 90 resource_dispatcher_host_delegate_; |
91 | 91 |
92 base::FilePath webkit_source_dir_; | 92 base::FilePath webkit_source_dir_; |
93 | 93 |
94 ShellBrowserMainParts* shell_browser_main_parts_; | 94 ShellBrowserMainParts* shell_browser_main_parts_; |
95 }; | 95 }; |
96 | 96 |
97 } // namespace content | 97 } // namespace content |
98 | 98 |
99 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 99 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |