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 <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 static void SetSwapProcessesForRedirect(bool swap); | 28 static void SetSwapProcessesForRedirect(bool swap); |
29 | 29 |
30 ShellContentBrowserClient(); | 30 ShellContentBrowserClient(); |
31 ~ShellContentBrowserClient() override; | 31 ~ShellContentBrowserClient() override; |
32 | 32 |
33 // ContentBrowserClient overrides. | 33 // ContentBrowserClient overrides. |
34 BrowserMainParts* CreateBrowserMainParts( | 34 BrowserMainParts* CreateBrowserMainParts( |
35 const MainFunctionParams& parameters) override; | 35 const MainFunctionParams& parameters) override; |
36 bool DoesSiteRequireDedicatedProcess(BrowserContext* browser_context, | 36 bool DoesSiteRequireDedicatedProcess(BrowserContext* browser_context, |
37 const GURL& effective_url) override; | 37 const GURL& effective_site_url) override; |
38 bool IsHandledURL(const GURL& url) override; | 38 bool IsHandledURL(const GURL& url) override; |
39 void RegisterInProcessMojoApplications( | 39 void RegisterInProcessMojoApplications( |
40 StaticMojoApplicationMap* apps) override; | 40 StaticMojoApplicationMap* apps) override; |
41 void RegisterOutOfProcessMojoApplications( | 41 void RegisterOutOfProcessMojoApplications( |
42 OutOfProcessMojoApplicationMap* apps) override; | 42 OutOfProcessMojoApplicationMap* apps) override; |
43 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 43 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
44 int child_process_id) override; | 44 int child_process_id) override; |
45 void ResourceDispatcherHostCreated() override; | 45 void ResourceDispatcherHostCreated() override; |
46 std::string GetDefaultDownloadName() override; | 46 std::string GetDefaultDownloadName() override; |
47 WebContentsViewDelegate* GetWebContentsViewDelegate( | 47 WebContentsViewDelegate* GetWebContentsViewDelegate( |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 resource_dispatcher_host_delegate_; | 110 resource_dispatcher_host_delegate_; |
111 | 111 |
112 base::Closure select_client_certificate_callback_; | 112 base::Closure select_client_certificate_callback_; |
113 | 113 |
114 ShellBrowserMainParts* shell_browser_main_parts_; | 114 ShellBrowserMainParts* shell_browser_main_parts_; |
115 }; | 115 }; |
116 | 116 |
117 } // namespace content | 117 } // namespace content |
118 | 118 |
119 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ | 119 #endif // CONTENT_SHELL_BROWSER_SHELL_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |