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 15 matching lines...) Expand all Loading... |
26 static ShellContentBrowserClient* Get(); | 26 static ShellContentBrowserClient* Get(); |
27 | 27 |
28 static void SetSwapProcessesForRedirect(bool swap); | 28 static void SetSwapProcessesForRedirect(bool swap); |
29 | 29 |
30 ShellContentBrowserClient(); | 30 ShellContentBrowserClient(); |
31 virtual ~ShellContentBrowserClient(); | 31 virtual ~ShellContentBrowserClient(); |
32 | 32 |
33 // ContentBrowserClient overrides. | 33 // ContentBrowserClient overrides. |
34 virtual BrowserMainParts* CreateBrowserMainParts( | 34 virtual BrowserMainParts* CreateBrowserMainParts( |
35 const MainFunctionParams& parameters) OVERRIDE; | 35 const MainFunctionParams& parameters) OVERRIDE; |
| 36 virtual BrowserPluginGuestManagerDelegate* GetGuestManagerDelegate( |
| 37 BrowserContext* context) OVERRIDE; |
36 virtual void RenderProcessWillLaunch(RenderProcessHost* host) OVERRIDE; | 38 virtual void RenderProcessWillLaunch(RenderProcessHost* host) OVERRIDE; |
37 virtual net::URLRequestContextGetter* CreateRequestContext( | 39 virtual net::URLRequestContextGetter* CreateRequestContext( |
38 BrowserContext* browser_context, | 40 BrowserContext* browser_context, |
39 ProtocolHandlerMap* protocol_handlers, | 41 ProtocolHandlerMap* protocol_handlers, |
40 ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; | 42 ProtocolHandlerScopedVector protocol_interceptors) OVERRIDE; |
41 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 43 virtual net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
42 BrowserContext* browser_context, | 44 BrowserContext* browser_context, |
43 const base::FilePath& partition_path, | 45 const base::FilePath& partition_path, |
44 bool in_memory, | 46 bool in_memory, |
45 ProtocolHandlerMap* protocol_handlers, | 47 ProtocolHandlerMap* protocol_handlers, |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 resource_dispatcher_host_delegate_; | 93 resource_dispatcher_host_delegate_; |
92 | 94 |
93 base::FilePath webkit_source_dir_; | 95 base::FilePath webkit_source_dir_; |
94 | 96 |
95 ShellBrowserMainParts* shell_browser_main_parts_; | 97 ShellBrowserMainParts* shell_browser_main_parts_; |
96 }; | 98 }; |
97 | 99 |
98 } // namespace content | 100 } // namespace content |
99 | 101 |
100 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 102 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |